mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-25 21:59:19 +00:00
Add precondition to Uploader._process.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
09f856e487
commit
6f7b19ab49
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user