keep original exception behavior
This commit is contained in:
parent
b53ea0a11c
commit
c71116d45e
|
@ -654,7 +654,7 @@ else:
|
||||||
move_into_place(replacement_path, replaced_path)
|
move_into_place(replacement_path, replaced_path)
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
if e.errno != ENOENT:
|
if e.errno != ENOENT:
|
||||||
reraise(ConflictError)
|
raise
|
||||||
except EnvironmentError as e:
|
except EnvironmentError as e:
|
||||||
reraise(ConflictError)
|
reraise(ConflictError)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue