diff options
author | martin.von.loewis <devnull@localhost> | 2009-03-30 18:38:56 +0000 |
---|---|---|
committer | martin.von.loewis <devnull@localhost> | 2009-03-30 18:38:56 +0000 |
commit | 13f213b8218cb590a648279affc9dc9264903e6e (patch) | |
tree | dec9e1d2d7196c5606799e8bd9d5ec99e01b1404 /rpc.py | |
parent | 33b026b1dcb2339963e9cf83a2be8e6904ab54ab (diff) | |
download | decorator-13f213b8218cb590a648279affc9dc9264903e6e.tar.gz |
Convert mx .gmtime to timetuple/mktime.
Diffstat (limited to 'rpc.py')
-rw-r--r-- | rpc.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ import xmlrpclib import traceback import re +import time from cStringIO import StringIO allowed = ('package_releases', 'package_urls', 'package_data', @@ -80,7 +81,7 @@ def updated_releases(store, since): def changelog(store, since): result = store.changelog(since) return [(row['name'],row['version'], - int(row['submitted_date'].gmticks()), + int(time.mktime(row['submitted_date'].timetuple())), row['action']) for row in result] |