this shouldn't have gotten removed

This commit is contained in:
meejah 2018-04-20 18:46:49 -06:00
parent a146afcf84
commit 99c3d7f23f
2 changed files with 4 additions and 2 deletions

View File

@ -1390,8 +1390,6 @@ class Downloader(QueueMixin, WriteFileMixin):
# uploaded.
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:
# * i. there are pending notifications of changes to ``foo``;
# * ii. the last-seen statinfo is either absent (i.e. there is

View File

@ -652,6 +652,10 @@ else:
move_into_place(replacement_path, replaced_path)
except EnvironmentError:
reraise(ConflictError)
except OSError as e:
if e.errno != ENOENT:
raise
PathInfo = namedtuple('PathInfo', 'isdir isfile islink exists size mtime_ns ctime_ns')