From 598af915844167ad7527938852ec73b0bd16e1de Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 8 Dec 2008 00:11:00 +0000 Subject: 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 --- lib/thandy/formats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3