use sys.exit() instead of exit()

This commit is contained in:
qeed 2009-09-07 12:58:58 +00:00
parent f3f13bdaee
commit 505f609e72
1 changed files with 3 additions and 2 deletions

5
gfceux
View File

@ -5,10 +5,11 @@
# Lukas Sabota <ltsmooth42 _at_ gmail _dot_ com>
#
# <http://fceux.com>
import platform
import platform
import sys
if platform.python_version() < '2.5.0':
print "Python version too old, use one greater than 2.5.0";
exit();
sys.exit();
try:
from src import main