--- linkcheck/__init__.py 2014-07-16 01:34:58.000000000 -0400
+++ linkcheck/__init__.py 2016-08-19 22:24:48.000000000 -0400
# Needs Python >= 2.7.2 which fixed http://bugs.python.org/issue11467
if not (hasattr(sys, 'version_info') or
sys.version_info < (2, 7, 2, 'final', 0)):
- raise SystemExit("This program requires Python 2.7.2 or later.")
+ version = platform.python_version()
+ raise SystemExit("This program requires Python 2.7.2 or later instead of %s." % version)
-if requests.__version__ <= '2.2.0':
- raise SystemExit("This program requires Python requests 2.2.0 or later.")
# add the custom linkcheck_dns directory to sys.path