git-svn-id: https://s3tools.svn.sourceforge.net/svnroot/s3tools/s3cmd/trunk@299 830e0280-6d2a-0410-9c65-932aecc39d9d
@@ -1,5 +1,7 @@
2008-12-29 Michal Ludvig <michal@logix.cz>
+ * S3/Exception.py: Python 2.4 doesn't automatically set
+ Exception.message.
* run-tests.py: Improved testsuite, added parameters support
to run only specified tests, cleaned up win/posix integration.
@@ -12,6 +12,9 @@ except ImportError:
import elementtree.ElementTree as ET
class S3Exception(Exception):
+ def __init__(self, message = ""):
+ self.message = message
+
def __str__(self):
## Is this legal?
return unicode(self)