Added version check to the template.

This commit is contained in:
Jeremy Fincher 2003-09-09 08:04:25 +00:00
parent e386518997
commit 671648368a
1 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,11 @@ customized startup files for bots.
import re
import sys
if sys.version_info < (2, 3, 0):
sys.stderr.write('This program requires Python >= 2.3.0\n')
sys.exit(-1)
import time
import optparse