diff options
author | Christoph Erhardt <kolab@sicherha.de> | 2021-06-04 16:53:52 +0200 |
---|---|---|
committer | Christoph Erhardt <kolab@sicherha.de> | 2022-01-10 20:46:43 +0100 |
commit | 991255eaa314b51e2dd586460311d4633a56eb86 (patch) | |
tree | e3e711046511d69fabdac2c67e66df4834a1e763 /pykolab/cli/cmd_delete_mailbox_acl.py | |
parent | d0579b7e5da331576b80b9d35eb62994075bc939 (diff) | |
download | pykolab-991255eaa314b51e2dd586460311d4633a56eb86.tar.gz |
[Python 3] Use new exception syntax
Summary:
The new syntax was introduced in Python 2.6; the old syntax was
deprecated in Python 3.0.
Reviewers: machniak, mollekopf
Reviewed By: mollekopf
Differential Revision: https://git.kolab.org/D3232
Diffstat (limited to 'pykolab/cli/cmd_delete_mailbox_acl.py')
-rw-r--r-- | pykolab/cli/cmd_delete_mailbox_acl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/cli/cmd_delete_mailbox_acl.py b/pykolab/cli/cmd_delete_mailbox_acl.py index ebfc2ec..d146aac 100644 --- a/pykolab/cli/cmd_delete_mailbox_acl.py +++ b/pykolab/cli/cmd_delete_mailbox_acl.py @@ -43,10 +43,10 @@ def execute(*args, **kw): folder = conf.cli_args.pop(0) try: identifier = conf.cli_args.pop(0) - except IndexError, errmsg: + except IndexError: identifier = utils.ask_question(_("ACI Subject")) - except IndexError, errmsg: + except IndexError: folder = utils.ask_question(_("Folder name")) quota = utils.ask_question(_("ACI Subject")) |