cast exception as string for printing

This commit is contained in:
Nate Prewitt
2018-01-26 02:48:52 -08:00
parent 3170b122b2
commit b9b29df062
+1 -1
View File
@@ -516,7 +516,7 @@ def actually_resolve_reps(deps, index_lookup, markers_lookup, project, sources,
),
err=True)
click.echo(crayons.blue(e))
click.echo(crayons.blue(str(e)))
if 'no version found at all' in str(e):
click.echo(crayons.blue('Please check your version specifier and version number. See PEP440 for more information.'))