allow running the script on python 3.0 - 3.2 (though unsure of compatibility)

master
Michael Farrell 2012-04-11 17:22:03 +09:30
parent 05e56b66a4
commit 2b879b34d6
1 changed files with 1 additions and 1 deletions

View File

@ -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 *