except Ex, e: --> except Ex as e:
Nudge us towards python3 compatability by converting deprecated python2 syntax. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
@ -351,7 +351,7 @@ class OfflineImap:
|
||||
self.ui.terminate()
|
||||
except (SystemExit):
|
||||
raise
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
self.ui.error(e)
|
||||
self.ui.terminate()
|
||||
|
||||
|
Reference in New Issue
Block a user