diff options
Diffstat (limited to 'ipalib/plugins/batch.py')
-rw-r--r-- | ipalib/plugins/batch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/batch.py b/ipalib/plugins/batch.py index 2002eef88..9b9ab6544 100644 --- a/ipalib/plugins/batch.py +++ b/ipalib/plugins/batch.py @@ -106,7 +106,7 @@ class batch(Command): '%s: batch: %s(%s): SUCCESS', context.principal, name, ', '.join(api.Command[name]._repr_iter(**params)) ) result['error']=None - except Exception, e: + except Exception as e: if isinstance(e, errors.RequirementError) or \ isinstance(e, errors.CommandError): self.info( |