allow running the script on python 3.0 - 3.2 (though unsure of compatibility)
This commit is contained in:
parent
05e56b66a4
commit
2b879b34d6
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ import sys
|
|||
|
||||
# Make sure that this is at least Python 2.3
|
||||
verlist = sys.version_info
|
||||
if not verlist[0] >= 2 or not verlist[1] >= 3:
|
||||
if not (verlist[0] > 2 or (verlist[0] == 2 and verlist[1] >= 3)):
|
||||
raise AssertionError, "Requires at least Python 2.3"
|
||||
|
||||
from TftpShared import *
|
||||
|
|
Reference in a new issue