[Python-checkins] r42215 - sandbox/trunk/pycon/parse_sched.py

andrew.kuchling python-checkins at python.org
Wed Feb 1 01:08:16 CET 2006


Author: andrew.kuchling
Date: Wed Feb  1 01:08:14 2006
New Revision: 42215

Modified:
   sandbox/trunk/pycon/parse_sched.py
Log:
Include room location

Modified: sandbox/trunk/pycon/parse_sched.py
==============================================================================
--- sandbox/trunk/pycon/parse_sched.py	(original)
+++ sandbox/trunk/pycon/parse_sched.py	Wed Feb  1 01:08:14 2006
@@ -211,7 +211,8 @@
     date = datetime.datetime(*date).strftime("%Y%m%dT%H%M00")
     print >>output, 'BEGIN:VEVENT\n'
     print >>output, 'DTSTART;TZID=US-Eastern:%s\n' % date
-    print >>output, 'LOCATION:Dallas, TX\n'
+    if location != '---':
+        print >>output, 'LOCATION: %s\n' % location
     print >>output, 'SUMMARY: %s\n' % talk_title
     print >>output, 'UID:%s@%s\n' % (date, 'pycon.org')
     print >>output, 'SEQUENCE:1\n'


More information about the Python-checkins mailing list