Python 3: use "as" instead of comma in except clause

This commit is contained in:
Nicola Soranzo
2016-05-17 23:53:16 +01:00
parent ed4132d9c0
commit 8a43b2b492
73 changed files with 152 additions and 152 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import sys
try:
import requests
except ImportError, imp_err:
except ImportError:
print "Could not import the requests module. See http://docs.python-requests.org/en/latest/" + \
" or install with 'pip install requests'"
raise