This commit is contained in:
Jean-Paul Calderone 2019-03-06 16:57:15 -05:00
parent 515475022a
commit c5c7f954e9

View File

@ -1377,10 +1377,10 @@ class Uploader(QueueMixin):
# there's nothing more to do.
return False
# if pathinfo.isdir:
# with PROPAGATE_DIRECTORY_DELETION():
# for localpath in self._db.get_direct_children(relpath_u):
# self._add_pending(localpath.relpath_u)
if pathinfo.isdir or db_entry_is_dir:
with PROPAGATE_DIRECTORY_DELETION():
for localpath in self._db.get_direct_children(relpath_u):
self._add_pending(localpath.relpath_u)
last_downloaded_timestamp = now # is this correct?