require Python 2.4

git-svn-id: file:///Users/arjan/backup/gaphor/trunk/gaphor@660 a8418922-720d-0410-834f-a69b97ada669
This commit is contained in:
Arjan Molenaar 2005-11-08 12:28:47 +00:00
parent 551abc4563
commit 17192981df

View File

@ -28,9 +28,9 @@ from utils.dist_mo import Distribution
str_version = sys.version[:3]
version = map(int, str_version.split('.'))
if version < [2, 2]:
if version < [2, 4]:
raise SystemExit, \
"Python 2.2 or higher is required, %s found" % str_version
"Python 2.4 or higher is required, %s found" % str_version
class config_Gaphor(Command):