Commit 9930045a authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Fix typo in download overwrite

parent df5f658c
......@@ -1208,7 +1208,7 @@ class file_download(_pithos_container):
# Remote object is just a file
if path.exists(local_path) and not self['resume']:
raise CLIError(
'Cannot overwrite local file %s' % (lpath),
'Cannot overwrite local file %s' % (local_path),
details=['To overwrite/resume, use %s' % (
self.arguments['resume'].lvalue)])
ret.append((rpath, local_path, self['resume']))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment