Minor cleanup and logging fix.
authorDavid Stainton <dstainton415@gmail.com>
Wed, 27 Jan 2016 15:41:50 +0000 (15:41 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 5 Feb 2016 22:13:37 +0000 (22:13 +0000)
src/allmydata/frontends/magic_folder.py

index d8b29797cd05b8e0897e989cd0e465ddcdc3e733..766f2ae9a3c2e6077ab556da4870695aa68028c3 100644 (file)
@@ -337,8 +337,8 @@ class Uploader(QueueMixin):
 
         d = defer.succeed(None)
 
-        def _maybe_upload(val, now=None):
-            self._log("_maybe_upload(%r, now=%r)" % (val, now))
+        def _maybe_upload(ign, now=None):
+            self._log("_maybe_upload: relpath_u=%r, now=%r" % (relpath_u, now))
             if now is None:
                 now = time.time()
             fp = self._get_filepath(relpath_u)