projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e61b5a8
)
simplify _db_file_is_uploaded
author
David Stainton
<dstainton415@gmail.com>
Wed, 15 Jul 2015 19:19:08 +0000
(12:19 -0700)
committer
Daira Hopwood
<daira@jacaranda.org>
Tue, 15 Sep 2015 16:56:02 +0000
(17:56 +0100)
src/allmydata/frontends/magic_folder.py
patch
|
blob
|
history
diff --git
a/src/allmydata/frontends/magic_folder.py
b/src/allmydata/frontends/magic_folder.py
index 9e83c3f1cafc79966171ec1554c2f01bed9d793f..077affabc81da25491e91d0c5ba81379e04f9162 100644
(file)
--- a/
src/allmydata/frontends/magic_folder.py
+++ b/
src/allmydata/frontends/magic_folder.py
@@
-233,11
+233,7
@@
class MagicFolder(service.MultiService):
"""
assert self._db != None
r = self._db.check_file(childpath)
- filecap = r.was_uploaded()
- if filecap is False:
- return False
- else:
- return True
+ return r.was_uploaded()
def _scan(self, localpath):
if not os.path.isdir(localpath):