]> 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, 21 Apr 2015 22:54:01 +0000 (23:54 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/frontends/drop_upload.py

index e02caa5277783e80dcebcf9f463380b2e426cc5f..f816e9e41d1dbab9cb3e1873954004942a4d172d 100644 (file)
@@ -226,8 +226,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)