From 2e7c8b8e4724ae8c4befacdfa50f2a8df04b2be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Thu, 3 Jul 2014 01:57:41 +0200 Subject: [PATCH] use new style Exception raising without the 'comma' syntax --- suds/mx/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suds/mx/__init__.py b/suds/mx/__init__.py index dec87a6..c64c0f9 100644 --- a/suds/mx/__init__.py +++ b/suds/mx/__init__.py @@ -57,4 +57,4 @@ class Content(Object): value = None setattr(self, name, value) return value - raise AttributeError, "Content has no attribute %s" % (name,) + raise AttributeError("Content has no attribute %s" % (name,))