summaryrefslogtreecommitdiffstats
path: root/ipalib/backend.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/backend.py')
-rw-r--r--ipalib/backend.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/backend.py b/ipalib/backend.py
index d510bc733..240fae4b3 100644
--- a/ipalib/backend.py
+++ b/ipalib/backend.py
@@ -127,14 +127,14 @@ class Executioner(Backend):
if _name not in self.Command:
raise CommandError(name=_name)
result = self.Command[_name](*args, **options)
- except PublicError, e:
+ except PublicError as e:
error = e
- except StandardError, e:
+ except StandardError as e:
self.exception(
'non-public: %s: %s', e.__class__.__name__, str(e)
)
error = InternalError()
- except Exception, e:
+ except Exception as e:
self.exception(
'unhandled exception: %s: %s', e.__class__.__name__, str(e)
)