mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 16:36:20 +00:00
this shouldn't have gotten removed
This commit is contained in:
parent
a146afcf84
commit
99c3d7f23f
@ -1390,8 +1390,6 @@ class Downloader(QueueMixin, WriteFileMixin):
|
|||||||
# uploaded.
|
# uploaded.
|
||||||
|
|
||||||
if db_entry:
|
if db_entry:
|
||||||
dmd_last_uploaded_uri = item.metadata.get('last_uploaded_uri', None)
|
|
||||||
|
|
||||||
# * 2c. If any of the following are true, then classify as a conflict:
|
# * 2c. If any of the following are true, then classify as a conflict:
|
||||||
# * i. there are pending notifications of changes to ``foo``;
|
# * i. there are pending notifications of changes to ``foo``;
|
||||||
# * ii. the last-seen statinfo is either absent (i.e. there is
|
# * ii. the last-seen statinfo is either absent (i.e. there is
|
||||||
|
@ -652,6 +652,10 @@ else:
|
|||||||
move_into_place(replacement_path, replaced_path)
|
move_into_place(replacement_path, replaced_path)
|
||||||
except EnvironmentError:
|
except EnvironmentError:
|
||||||
reraise(ConflictError)
|
reraise(ConflictError)
|
||||||
|
except OSError as e:
|
||||||
|
if e.errno != ENOENT:
|
||||||
|
raise
|
||||||
|
|
||||||
|
|
||||||
PathInfo = namedtuple('PathInfo', 'isdir isfile islink exists size mtime_ns ctime_ns')
|
PathInfo = namedtuple('PathInfo', 'isdir isfile islink exists size mtime_ns ctime_ns')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user