diff options
Diffstat (limited to 'ipalib/plugins/pwpolicy.py')
-rw-r--r-- | ipalib/plugins/pwpolicy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/pwpolicy.py b/ipalib/plugins/pwpolicy.py index 165d54889..cb8ef29ee 100644 --- a/ipalib/plugins/pwpolicy.py +++ b/ipalib/plugins/pwpolicy.py @@ -491,7 +491,7 @@ class pwpolicy_mod(LDAPUpdate): self.api.Command.cosentry_mod( keys[-1], cospriority=options['cospriority'] ) - except errors.EmptyModlist, e: + except errors.EmptyModlist as e: if len(entry_attrs) == 1: # cospriority only was passed raise e else: |