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_list_quota.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_list_quota.py')
-rw-r--r-- | pykolab/cli/cmd_list_quota.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/cli/cmd_list_quota.py b/pykolab/cli/cmd_list_quota.py index 28b0cd5..d956168 100644 --- a/pykolab/cli/cmd_list_quota.py +++ b/pykolab/cli/cmd_list_quota.py @@ -53,7 +53,7 @@ def execute(*args, **kw): try: quota_folder = conf.cli_args.pop(0) - except IndexError, e: + except IndexError: quota_folder = '*' imap = IMAP() |