Skip to content

Commit

Permalink
Comments about versions
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Delisle <marc@infomarc.info>
  • Loading branch information
lem9 committed Dec 12, 2013
1 parent a7f81bb commit 70fa9a1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions render.py
Expand Up @@ -235,10 +235,15 @@ def get_version_info(self, version):
'Requires PHP 5.2 and MySQL 5. ' +
'Supported for security fixes only, until Jan 1, 2014.'
)
elif version[:3] == '4.1':
elif version[:3] == '4.2':
text = 'Development version compatible with PHP 5.3 and MySQL 5.5.'
elif version[:2] == '4.':
text = 'Current version compatible with PHP 5.2 and MySQL 5.'
elif version[:3] == '4.1':
text = 'Current version compatible with PHP 5.3 and MySQL 5.5.'
elif version[:3] == '4.0':
text = (
'Older version compatible with PHP 5.2 and MySQL 5. ' +
'Supported for security fixes only, until Jul 1, 2014.'
)
if version.find('beta1') != -1:
text += ' First beta version.'
elif version.find('beta2') != -1:
Expand Down

0 comments on commit 70fa9a1

Please sign in to comment.