summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peck <coder@peertech.org>2009-01-05 06:13:03 +0000
committerMartin Peck <coder@peertech.org>2009-01-05 06:13:03 +0000
commit5895b62e0cb9cab928f7bdb65559d205fa789ea1 (patch)
tree65de223009f6b39f6cde6b43a41915de8574d46f
parent74d36d1652fb6491d9bc42a53f469886c24945ee (diff)
Correct syntax for name-to-length dictionary assignment.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17904 55e972cd-5a19-0410-ae62-a4d7a52db4cd
-rw-r--r--lib/thandy/SignerCLI.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thandy/SignerCLI.py b/lib/thandy/SignerCLI.py
index f7a8472..9477cfe 100644
--- a/lib/thandy/SignerCLI.py
+++ b/lib/thandy/SignerCLI.py
@@ -103,7 +103,7 @@ def makebundle(args):
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__)