monochromatic exception message

This commit is contained in:
Nate Prewitt
2017-03-01 08:49:15 -07:00
parent 578224435a
commit 47b5dedffd
+1 -1
View File
@@ -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()