mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
monochromatic exception message
This commit is contained in:
+1
-1
@@ -187,7 +187,7 @@ def proper_case(package_name):
|
||||
# Hit the simple API.
|
||||
r = requests.get('https://pypi.org/simple/{0}'.format(package_name))
|
||||
if not r.ok:
|
||||
raise IOError('Unable to find package {0} in PyPI repository.'.format(crayons.green(package_name)))
|
||||
raise IOError('Unable to find package {0} in PyPI repository.'.format(package_name))
|
||||
|
||||
# Parse the HTML.
|
||||
parser = SimpleHTMLParser()
|
||||
|
||||
Reference in New Issue
Block a user