get this item status in the right action context

This commit is contained in:
Jean-Paul Calderone 2019-02-26 15:10:24 -05:00
parent 42d8e8dba4
commit f89fe3a5ad

View File

@ -1287,10 +1287,10 @@ class Uploader(QueueMixin):
Possibly upload a single QueuedItem. If this returns False, the item is
removed from _process_history.
"""
# Uploader
with PROCESS_ITEM(item=item).context():
d = DeferredContext(defer.succeed(False))
# Uploader
relpath_u = item.relpath_u
item.set_status('started', self._clock.seconds())