[or-cvs] r17904: {updater} Correct syntax for name-to-length dictionary assignment. (updater/trunk/lib/thandy)
coderman at seul.org
coderman at seul.org
Mon Jan 5 06:13:03 UTC 2009
Author: coderman
Date: 2009-01-05 01:13:03 -0500 (Mon, 05 Jan 2009)
New Revision: 17904
Modified:
updater/trunk/lib/thandy/SignerCLI.py
Log:
Correct syntax for name-to-length dictionary assignment.
Modified: updater/trunk/lib/thandy/SignerCLI.py
===================================================================
--- updater/trunk/lib/thandy/SignerCLI.py 2009-01-05 06:08:08 UTC (rev 17903)
+++ updater/trunk/lib/thandy/SignerCLI.py 2009-01-05 06:13:03 UTC (rev 17904)
@@ -103,7 +103,7 @@
if r != 'package':
print pkgFile, "was not a package"
packages[p['signed']['name']] = p['signed']
- packageLen[p['signed']['name'] = length
+ packageLen[p['signed']['name']] = length
bundleObj = thandy.formats.makeBundleObj(configFile, packages.__getitem__,
packageLen.__getitem__)
More information about the tor-commits
mailing list