nixpkgs/pkgs/tools/networking/linkchecker/no-version-check.patch

15 lines
645 B
Diff
Raw Normal View History

diff --git a/linkcheck/__init__.py b/linkcheck/__init__.py
--- a/linkcheck/__init__.py 2014-07-16 13:34:58.000000000 +0800
+++ b/linkcheck/__init__.py 2016-10-11 10:42:08.914085950 +0800
@@ -26,8 +26,8 @@
sys.version_info < (2, 7, 2, 'final', 0)):
raise SystemExit("This program requires Python 2.7.2 or later.")
import requests
-if requests.__version__ <= '2.2.0':
- raise SystemExit("This program requires Python requests 2.2.0 or later.")
+#if requests.__version__ <= '2.2.0':
+# raise SystemExit("This program requires Python requests 2.2.0 or later.")
import os
# add the custom linkcheck_dns directory to sys.path