Skip to content

Commit

Permalink
Fix Python 2 error message (Yelp#373)
Browse files Browse the repository at this point in the history
* Fix py2 error

* Fix flake8
  • Loading branch information
justineyster authored and GitHub Enterprise committed Sep 28, 2020
1 parent 082bb61 commit ffea0f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys
if sys.version_info.major == 2:
sys.exit(
'Sorry, Python 2 is no longer supported by detect-secrets. Refer to',
'Sorry, Python 2 is no longer supported by detect-secrets. Refer to' +
' http://ibm.biz/upgrade-to-py3 for instructions on upgraing to Python 3.',
)

Expand Down

0 comments on commit ffea0f9

Please sign in to comment.