[Python-checkins] r42225 - sandbox/trunk/pycon/parse_sched.py
david.goodger
python-checkins at python.org
Thu Feb 2 03:11:12 CET 2006
Author: david.goodger
Date: Thu Feb 2 03:11:09 2006
New Revision: 42225
Modified:
sandbox/trunk/pycon/parse_sched.py
Log:
datestamp is required but irrelevant: avoid unnecessary checkin diffs (after the next one)
Modified: sandbox/trunk/pycon/parse_sched.py
==============================================================================
--- sandbox/trunk/pycon/parse_sched.py (original)
+++ sandbox/trunk/pycon/parse_sched.py Thu Feb 2 03:11:09 2006
@@ -16,8 +16,6 @@
line_pat = re.compile('[|]{2}.*[|]{2}\s*$')
talk_pat = re.compile('#(\d+)')
-datestamp_utc = datetime.datetime.utcnow().strftime("%Y%m%dT%H%M%SZ")
-
def parse (lines):
lines = map(string.strip, lines)
d = {}
@@ -232,8 +230,9 @@
print >>output, 'UID:%s-%s at pycon.org' % (date, location_codes[location])
# revision number, per VEVENT:
print >>output, 'SEQUENCE:1'
- # date stamp must be UTC (ends with 'Z'):
- print >>output, 'DTSTAMP:%s' % datestamp_utc
+ # date stamp is required, must be UTC (ends with 'Z'),
+ # but the information itself is irrelevant:
+ print >>output, 'DTSTAMP:20060201T000000Z'
print >>output, 'DURATION:PT%iM' % duration
print >>output, 'END:VEVENT\n'
More information about the Python-checkins
mailing list