mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 11:16:24 +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):
|
||||
action.add_success_fields(ignored=True, already_pending=False, size=None)
|
||||
return
|
||||
if relpath_u in self._pending:
|
||||
if self.is_pending(relpath_u):
|
||||
action.add_success_fields(ignored=False, already_pending=True, size=None)
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user