diff options
author | R. Tyler Ballance <tyler@monkeypox.org> | 2010-01-31 18:18:52 -0800 |
---|---|---|
committer | R. Tyler Ballance <tyler@monkeypox.org> | 2010-01-31 18:18:52 -0800 |
commit | 97c0b6580cb40401cdc58247e4a17001fec9f6de (patch) | |
tree | ae34c0f29287d4cfbd1f2c31e3dd49eeae5a7107 /cheetah/Version.py | |
parent | d28a4d9c90c1dca8734db06f0c867ff490d9ca75 (diff) | |
download | python-cheetah-97c0b6580cb40401cdc58247e4a17001fec9f6de.tar.gz |
Denote that we're working on 2.4.2rc2 now
Diffstat (limited to 'cheetah/Version.py')
-rw-r--r-- | cheetah/Version.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cheetah/Version.py b/cheetah/Version.py index 3c56f87..5a9568c 100644 --- a/cheetah/Version.py +++ b/cheetah/Version.py @@ -1,5 +1,5 @@ Version = '2.4.2' -VersionTuple = (2, 4, 2, 'candidate', 1) +VersionTuple = (2, 4, 2, 'candidate', 2) MinCompatibleVersion = '2.0rc6' MinCompatibleVersionTuple = (2, 0, 0, 'candidate', 6) @@ -22,11 +22,11 @@ def convertVersionStringToTuple(s): num = s num = num.split('.') for i in range(len(num)): - versionNum[i] = int(num[i]) + versionNum[i] = int(num[i]) if len(versionNum)<3: versionNum += [0] releaseTypeSubNum = int(releaseTypeSubNum) - + return tuple(versionNum+[releaseType, releaseTypeSubNum]) @@ -41,7 +41,7 @@ if __name__ == '__main__': assert c('0.9.19b1') < c('0.9.19') assert c('0.9b1') < c('0.9.19') - + assert c('2.0a2') > c('2.0a1') assert c('2.0b1') > c('2.0a2') assert c('2.0b2') > c('2.0b1') |