mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 16:36:20 +00:00
use this helper
it might even let us refactor someday
This commit is contained in:
parent
999b8bdbd7
commit
5410acd745
@ -1037,7 +1037,7 @@ class Uploader(QueueMixin):
|
|||||||
if magicpath.should_ignore_file(relpath_u):
|
if magicpath.should_ignore_file(relpath_u):
|
||||||
action.add_success_fields(ignored=True, already_pending=False, size=None)
|
action.add_success_fields(ignored=True, already_pending=False, size=None)
|
||||||
return
|
return
|
||||||
if relpath_u in self._pending:
|
if self.is_pending(relpath_u):
|
||||||
action.add_success_fields(ignored=False, already_pending=True, size=None)
|
action.add_success_fields(ignored=False, already_pending=True, size=None)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user