74
74
source_path.rename(target_path)
78
78
self.handle_error(e, 'put', source_path.name, target_path.name)
82
82
target_path.writefileobj(source_path.open("rb"))
84
84
self.handle_error(e, 'put', source_path.name, target_path.name)
86
86
"""If we get here, renaming failed previously"""