python3: remove major version check
This commit is contained in:
parent
bf72cb7f10
commit
b37e155eb4
|
|
@ -13,16 +13,6 @@
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import sys
|
import sys
|
||||||
import time
|
|
||||||
|
|
||||||
if sys.version_info.major >= 3:
|
|
||||||
print(
|
|
||||||
"You are currently running Python3. Python3 is not supported.\n"
|
|
||||||
"Please try running with Python2.\n\n"
|
|
||||||
'It often works to type "python2 configtool.py" in the command line.'
|
|
||||||
)
|
|
||||||
time.sleep(10)
|
|
||||||
sys.exit(-1)
|
|
||||||
|
|
||||||
import getopt
|
import getopt
|
||||||
import os.path
|
import os.path
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue