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:
63cef55
)
Add precondition to Uploader._process.
author
Daira Hopwood
<daira@jacaranda.org>
Mon, 2 Nov 2015 22:12:38 +0000
(22:12 +0000)
committer
Daira Hopwood
<daira@jacaranda.org>
Fri, 5 Feb 2016 21:59:37 +0000
(21:59 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
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 4e0143b326eeb3cd387d2f535a36dcbfbdc01828..35db9597afbe5fcb47328c70ac68bb216aca5ce7 100644
(file)
--- a/
src/allmydata/frontends/magic_folder.py
+++ b/
src/allmydata/frontends/magic_folder.py
@@
-300,6
+300,7
@@
class Uploader(QueueMixin):
if relpath_u is None:
return
precondition(isinstance(relpath_u, unicode), relpath_u)
+ precondition(not relpath_u.endswith(u'/'), relpath_u)
d = defer.succeed(None)