Skip to content

Commit

Permalink
Merge pull request audreyfeldroy#315 from nagracks/specify-exception
Browse files Browse the repository at this point in the history
Specify ImportError exception
  • Loading branch information
eliasdorneles authored Jun 9, 2017
2 parents 91485d9 + e15b3fd commit ed0649f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/travis_pypi_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

try:
from urllib import urlopen
except:
except ImportError:
from urllib.request import urlopen


Expand Down

0 comments on commit ed0649f

Please sign in to comment.