summaryrefslogtreecommitdiff
path: root/suds/bindings/binding.py
diff options
context:
space:
mode:
authorjortel <devnull@localhost>2008-07-08 16:03:46 +0000
committerjortel <devnull@localhost>2008-07-08 16:03:46 +0000
commit66b5f01dc075d6c6bb70be931cc5fe2ede5f3db1 (patch)
tree215ea03ef1a140da4a892b24bb3bc2c1992b9ab7 /suds/bindings/binding.py
parentb581a931272d49d85e9fd630961ce44937cc53f5 (diff)
downloadsuds-66b5f01dc075d6c6bb70be931cc5fe2ede5f3db1.tar.gz
Update exceptions to be more /standard/ python by using Exception.__init__() to set Exception.message as suggested by Ticket #14; update bindings to raise WebFault passing (p)
Diffstat (limited to 'suds/bindings/binding.py')
-rw-r--r--suds/bindings/binding.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/suds/bindings/binding.py b/suds/bindings/binding.py
index 4e25655..377b465 100644
--- a/suds/bindings/binding.py
+++ b/suds/bindings/binding.py
@@ -136,7 +136,7 @@ class Binding:
unmarshaller = self.unmarshaller.basic
p = unmarshaller.process(fault)
if self.faults:
- raise WebFault(unicode(p))
+ raise WebFault(p)
else:
return p.detail