mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-05 05:04:46 +00:00
move version check into library
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2155 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
b51dffce7d
commit
194b1f4466
2 changed files with 5 additions and 5 deletions
|
|
@ -16,6 +16,11 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
# imports and checks
|
||||
import sys
|
||||
if not hasattr(sys, 'version_info') or \
|
||||
sys.version_info < (2, 3, 0, 'final', 0):
|
||||
raise SystemExit, "This program requires Python 2.3 or later."
|
||||
import os
|
||||
import re
|
||||
|
||||
|
|
|
|||
|
|
@ -17,12 +17,7 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
# imports and checks
|
||||
import sys
|
||||
if not hasattr(sys, 'version_info') or \
|
||||
sys.version_info < (2, 3, 0, 'final', 0):
|
||||
raise SystemExit, "This program requires Python 2.3 or later."
|
||||
|
||||
import getopt
|
||||
import codecs
|
||||
import re
|
||||
|
|
|
|||
Loading…
Reference in a new issue