]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Better variable name.
authorDaira Hopwood <daira@jacaranda.org>
Tue, 21 Apr 2015 22:54:01 +0000 (23:54 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 28 Apr 2015 18:46:48 +0000 (19:46 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/frontends/drop_upload.py

index 8664da1a85af2c86977e8afe6105c44ca18bd043..f4e4b47e27ea288a871cfc26f455c879360d5d1f 100644 (file)
@@ -231,8 +231,8 @@ class DropUploader(service.MultiService):
                 return None
             elif os.path.isfile(path):
                 d.addCallback(_add_file)
-                def add_db_entry(val):
-                    filecap = val.get_uri()
+                def add_db_entry(filenode):
+                    filecap = filenode.get_uri()
                     print "filename %s filecap %s" % (path, filecap)
                     s = os.stat(path)
                     self._db.did_upload_file(filecap, path.decode('UTF-8'), s.st_mtime, s.st_ctime, s.st_size)