diff options
author | Mitch.Garnaat <Mitch.Garnaat@604d75c7-a419-0410-a38f-bde1a0bd1dbf> | 2010-03-29 07:23:22 +0000 |
---|---|---|
committer | Mitch.Garnaat <Mitch.Garnaat@604d75c7-a419-0410-a38f-bde1a0bd1dbf> | 2010-03-29 07:23:22 +0000 |
commit | a8cce407de2b9d3aa843d80d1e1cb566bda16520 (patch) | |
tree | 862797c279c6dc74d03d124e7117c2e6a05544c0 /boto/exception.py | |
parent | 1ec6977df1ed99e8d9c620a3f261c1f882c442c6 (diff) | |
download | boto-a8cce407de2b9d3aa843d80d1e1cb566bda16520.tar.gz |
Removed calls to super method. Causes problems in Python 2.4. Fixes issue 353.
Diffstat (limited to 'boto/exception.py')
-rw-r--r-- | boto/exception.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boto/exception.py b/boto/exception.py index 63fb795b..503f43d1 100644 --- a/boto/exception.py +++ b/boto/exception.py @@ -34,8 +34,8 @@ class BotoClientError(StandardError): """ def __init__(self, reason): + StandardError.__init__(self) self.reason = reason - super(BotoClientError, self).__init__() def __repr__(self): return 'S3Error: %s' % self.reason @@ -56,6 +56,7 @@ class S3PermissionsError(BotoClientError): class BotoServerError(StandardError): def __init__(self, status, reason, body=None): + StandardError.__init__(self) self.status = status self.reason = reason self.body = body or '' @@ -76,7 +77,6 @@ class BotoServerError(StandardError): # don't get partial garbage. print "Warning: failed to parse error message from AWS: %s" % pe self._cleanupParsedProperties() - super(BotoServerError, self).__init__() def __getattr__(self, name): if name == 'message': @@ -183,8 +183,8 @@ class SQSDecodeError(BotoClientError): Error when decoding an SQS message. """ def __init__(self, reason, message): + BotoClientError.__init__(self, reason) self.message = message - super(SQSDecodeError, self).__init__(reason) def __repr__(self): return 'SQSDecodeError: %s' % self.reason |