mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-19 10:51:34 +08:00
Python 3: use "as" instead of comma in except clause
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user