[Pypi-checkins] r930 - trunk/pypi
martin.von.loewis
python-checkins at python.org
Sun Jul 10 21:59:46 CEST 2011
Author: martin.von.loewis
Date: Sun Jul 10 21:59:45 2011
New Revision: 930
Modified:
trunk/pypi/store.py
Log:
Properly query for timestamps.
Modified: trunk/pypi/store.py
==============================================================================
--- trunk/pypi/store.py (original)
+++ trunk/pypi/store.py Sun Jul 10 21:59:45 2011
@@ -846,7 +846,7 @@
assert isinstance(since, int)
cursor = self.get_cursor()
safe_execute(cursor, 'select distinct(name) from journals where submitted_date > %s',
- (time.gmtime(since),))
+ (time.strftime('%Y-%m-%d %H:%M:%S +0000', time.gmtime(since)),))
return cursor.fetchall()
def changelog_last_hour(self):
More information about the Pypi-checkins
mailing list