Permalink
Browse files

* s3cmd: Print version info on 'unexpected error' output.

git-svn-id: https://s3tools.svn.sourceforge.net/svnroot/s3tools/s3cmd/trunk@205 830e0280-6d2a-0410-9c65-932aecc39d9d
  • Loading branch information...
mludvig committed Jul 3, 2008
1 parent 493c072 commit 26b4a8e5a19fb98677bb0b47a995ac2796519686
Showing with 7 additions and 0 deletions.
  1. +4 −0 ChangeLog
  2. +3 −0 s3cmd
View
@@ -1,3 +1,7 @@
+2008-07-03 Michal Ludvig <michal@logix.cz>
+
+ * s3cmd: Print version info on 'unexpected error' output.
+
2008-06-30 Michal Ludvig <michal@logix.cz>
* S3/S3.py: Re-upload when Amazon doesn't send ETag
View
3 s3cmd
@@ -1051,6 +1051,9 @@ if __name__ == '__main__':
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
""")
+ sys.stderr.write("S3cmd: %s\n" % PkgInfo.version)
+ sys.stderr.write("Python: %s\n" % sys.version.replace('\n', ' '))
+ sys.stderr.write("\n")
sys.stderr.write(traceback.format_exc(sys.exc_info())+"\n")
sys.stderr.write("""
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

0 comments on commit 26b4a8e

Please sign in to comment.