From: Daira Hopwood Date: Tue, 21 Apr 2015 22:54:01 +0000 (+0100) Subject: Better variable name. X-Git-Url: https://git.rkrishnan.org/htmlfontify-example.html?a=commitdiff_plain;h=cb7e0c05fc2750954fcd372b38e88093bc53f90f;p=tahoe-lafs%2Ftahoe-lafs.git Better variable name. Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/frontends/drop_upload.py b/src/allmydata/frontends/drop_upload.py index e02caa52..f816e9e4 100644 --- a/src/allmydata/frontends/drop_upload.py +++ b/src/allmydata/frontends/drop_upload.py @@ -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)