[or-cvs] r17516: {updater} Oops: actually commit the patch from this morning where I ma (updater/trunk/lib/thandy)
nickm at seul.org
nickm at seul.org
Mon Dec 8 00:11:01 UTC 2008
Author: nickm
Date: 2008-12-07 19:11:00 -0500 (Sun, 07 Dec 2008)
New Revision: 17516
Modified:
updater/trunk/lib/thandy/formats.py
Log:
Oops: actually commit the patch from this morning where I made Thandy not break. Maybe I _am_ still sick.
Modified: updater/trunk/lib/thandy/formats.py
===================================================================
--- updater/trunk/lib/thandy/formats.py 2008-12-08 00:09:28 UTC (rev 17515)
+++ updater/trunk/lib/thandy/formats.py 2008-12-08 00:11:00 UTC (rev 17516)
@@ -796,7 +796,7 @@
k = getBundleKey(bundle['location'])
v = bundle['version']
entry = [ v, bundle['location'], bundle['at'], formatHash(getDigest(bundle)) ]
- if not bundles.has_key(k) or versionIsNewer(v, bundles[k]['version']):
+ if not bundles.has_key(k) or versionIsNewer(v, bundles[k][0]):
bundles[k] = entry
TIMESTAMP_SCHEMA.checkMatch(result)
More information about the tor-commits
mailing list