From: David Stainton Date: Wed, 15 Apr 2015 18:10:01 +0000 (+0000) Subject: Fix pending upload bug X-Git-Url: https://git.rkrishnan.org/about.html?a=commitdiff_plain;h=d72094c8ee790eed22355b998244aef5630ee24c;p=tahoe-lafs%2Ftahoe-lafs.git Fix pending upload bug - remove filepath from pending upload set BEFORE performing upload This bug was introduced at commit 87657eb382da05039cce99862691efcc27243193 --- diff --git a/src/allmydata/frontends/drop_upload.py b/src/allmydata/frontends/drop_upload.py index 7ff29b0e..0dacb692 100644 --- a/src/allmydata/frontends/drop_upload.py +++ b/src/allmydata/frontends/drop_upload.py @@ -171,8 +171,8 @@ class DropUploader(service.MultiService): if sys.platform != "win32": name = name.decode(get_filesystem_encoding()) - u = FileName(path.path, self._convergence) self._pending.remove(path) + u = FileName(path.path, self._convergence) return self._parent.add_file(name, u) d.addCallback(_add_file)