diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-08 00:11:00 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-08 00:11:00 +0000 |
commit | 598af915844167ad7527938852ec73b0bd16e1de (patch) | |
tree | 0eaa5d356d60d7db93c9f2b0f8a7c81edfbbf553 /lib/thandy | |
parent | fd9622a713f99b21b127495fecc8bbb3ba8904fd (diff) |
Oops: actually commit the patch from this morning where I made Thandy not break. Maybe I _am_ still sick.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17516 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'lib/thandy')
-rw-r--r-- | lib/thandy/formats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thandy/formats.py b/lib/thandy/formats.py index 54b76f2..9f136e5 100644 --- a/lib/thandy/formats.py +++ b/lib/thandy/formats.py @@ -796,7 +796,7 @@ def makeTimestampObj(mirrorlist_obj, keylist_obj, 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) |