don't try to propagate for non-directories
This commit is contained in:
parent
edfd9d3f92
commit
831836d5f6
|
@ -1346,6 +1346,7 @@ class Uploader(QueueMixin):
|
||||||
NOTIFIED_OBJECT_DISAPPEARED.log(path=fp)
|
NOTIFIED_OBJECT_DISAPPEARED.log(path=fp)
|
||||||
self._count('objects_disappeared')
|
self._count('objects_disappeared')
|
||||||
|
|
||||||
|
if pathinfo.isdir:
|
||||||
with PROPAGATE_DIRECTORY_DELETION():
|
with PROPAGATE_DIRECTORY_DELETION():
|
||||||
for localpath in self._db.get_direct_children(relpath_u):
|
for localpath in self._db.get_direct_children(relpath_u):
|
||||||
self._add_pending(localpath.relpath_u)
|
self._add_pending(localpath.relpath_u)
|
||||||
|
|
Loading…
Reference in New Issue