Skip to content

Commit 19ba646

Browse files
loolndechesne
authored andcommitted
ptool: Remove useless Python < 2.5 check
Shebang already mandates Python 3. Signed-off-by: Loïc Minier <[email protected]>
1 parent 26999d1 commit 19ba646

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ptool.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
from types import *
3636
from time import sleep
3737

38-
if sys.version_info < (2,5):
39-
sys.stdout.write("\n\nERROR: This script needs Python version 2.5 or greater, detected as ")
40-
print(sys.version_info)
41-
sys.exit() # error
42-
4338
from xml.etree import ElementTree as ET
4439
#from elementtree.ElementTree import ElementTree
4540
from xml.etree.ElementTree import Element, SubElement, Comment, tostring

0 commit comments

Comments
 (0)