complain if running with py2

This commit is contained in:
Campbell Barton 2010-07-06 14:30:31 +00:00
parent 513c8738ce
commit a0e1221472

@ -274,5 +274,9 @@ def main():
if __name__=='__main__':
main()
import sys
if not sys.version.startswith("3"):
print("Incorrect python version, use python 3!")
else:
main()