git-svn-id: https://s3tools.svn.sourceforge.net/svnroot/s3tools/s3cmd/trunk@256 830e0280-6d2a-0410-9c65-932aecc39d9d
Michal Ludvig authored on 2008/11/16 18:46:03... | ... |
@@ -1,5 +1,7 @@ |
1 | 1 |
2008-11-16 Michal Ludvig <michal@logix.cz> |
2 | 2 |
|
3 |
+ Merge from 0.9.8.x branch, rel 247: |
|
4 |
+ * s3cmd: Re-raise the right exception. |
|
3 | 5 |
Merge from 0.9.8.x branch, rel 246: |
4 | 6 |
* s3cmd, S3/S3.py, S3/Exceptions.py: Don't abort 'sync' or 'put' on files |
5 | 7 |
that can't be open (e.g. Permision denied). Print a warning and skip over |
... | ... |
@@ -536,7 +536,7 @@ def cmd_sync_remote2local(src, dst): |
536 | 536 |
if e.errno in (errno.EPERM, errno.EACCES): |
537 | 537 |
warning("%s not writable: %s" % (dst_file, e.strerror)) |
538 | 538 |
continue |
539 |
- raise |
|
539 |
+ raise e |
|
540 | 540 |
except KeyboardInterrupt: |
541 | 541 |
try: dst_stream.close() |
542 | 542 |
except: pass |