]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
misc/coding_tools/make-canary-files.py: fix a suspicious capture reported by check...
authordavid-sarah <david-sarah@jacaranda.org>
Sun, 9 Oct 2011 05:05:31 +0000 (22:05 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Sun, 9 Oct 2011 05:05:31 +0000 (22:05 -0700)
misc/coding_tools/make-canary-files.py

index 44f0348a4b75695018acb0128c68fa0eb7441994..57f900a5c2cac64ef3bc643489448f69567b4bfa 100644 (file)
@@ -116,7 +116,7 @@ def find_share_for_target(target):
         u = upload.Data(data, convergence)
         eu = upload.EncryptAnUploadable(u)
         d = eu.get_storage_index() # this happens to run synchronously
-        def _got_si(si):
+        def _got_si(si, data=data):
             if verbose: print "SI", base32.b2a(si),
             peerlist = get_permuted_peers(si)
             if peerlist[0] == target: