mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 13:33:09 +00:00
Add precondition to Uploader._process.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
583066b364
commit
5f98d73216
@ -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…
Reference in New Issue
Block a user