mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
Apply Python 3 futurize transform lib2to3.fixes.fix_except
This commit is contained in:
committed by
Tim Abbott
parent
e804185ae6
commit
f3d387e727
@@ -40,7 +40,7 @@ from datetime import datetime, timedelta
|
||||
|
||||
try:
|
||||
import dateutil.parser
|
||||
except ImportError, e:
|
||||
except ImportError as e:
|
||||
print >>sys.stderr, e
|
||||
print >>sys.stderr, "Please install the python-dateutil package."
|
||||
exit(1)
|
||||
|
||||
Reference in New Issue
Block a user