Apply Python 3 futurize transform lib2to3.fixes.fix_except

This commit is contained in:
Eklavya Sharma
2016-03-10 18:23:26 +05:30
committed by Tim Abbott
parent e804185ae6
commit f3d387e727
8 changed files with 9 additions and 9 deletions

View File

@@ -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)