we require python 3.5 or later
This commit is contained in:
@ -6,7 +6,10 @@ from __future__ import print_function
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
if sys.version_info.major < 3:
|
if sys.version_info.major < 3:
|
||||||
sys.exit('This script must be run with Python 3.x')
|
sys.exit('This script must be run with Python 3.5 or later')
|
||||||
|
|
||||||
|
if sys.version_info.minor < 5:
|
||||||
|
sys.exit('This script must be run with Python 3.5 or later')
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import glob
|
import glob
|
||||||
|
|||||||
@ -6,7 +6,10 @@ from __future__ import print_function
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
if sys.version_info.major < 3:
|
if sys.version_info.major < 3:
|
||||||
sys.exit('This script must be run with Python 3.x')
|
sys.exit('This script must be run with Python 3.5 or later')
|
||||||
|
|
||||||
|
if sys.version_info.minor < 5:
|
||||||
|
sys.exit('This script must be run with Python 3.5 or later')
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import glob
|
import glob
|
||||||
|
|||||||
@ -6,7 +6,10 @@ from __future__ import print_function
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
if sys.version_info.major < 3:
|
if sys.version_info.major < 3:
|
||||||
sys.exit('This script must be run with Python 3.x')
|
sys.exit('This script must be run with Python 3.5 or later')
|
||||||
|
|
||||||
|
if sys.version_info.minor < 5:
|
||||||
|
sys.exit('This script must be run with Python 3.5 or later')
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import glob
|
import glob
|
||||||
|
|||||||
Reference in New Issue
Block a user