From: Daira Hopwood Date: Tue, 21 Apr 2015 22:54:01 +0000 (+0100) Subject: Better variable name. X-Git-Url: https://git.rkrishnan.org/reedownlee?a=commitdiff_plain;h=9efb375dd935421cb701b36d53ceeabce0af3e81;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 8664da1a..f4e4b47e 100644 --- a/src/allmydata/frontends/drop_upload.py +++ b/src/allmydata/frontends/drop_upload.py @@ -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)