euscanwww: Displaying unstable versions in package view

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino
2012-07-17 13:18:44 +02:00
parent a85f7e71c1
commit be146163f6
26 changed files with 259 additions and 31 deletions

View File

@ -35,7 +35,11 @@ _v = r'((\d+)((\.\d+)*)([a-zA-Z]*?)(' + _v_end + '*))'
def is_version_stable(version):
return get_version_type(version) not in ("alpha", "beta", "pre", "rc")
return is_version_type_stable(get_version_type(version))
def is_version_type_stable(version_type):
return version_type not in ("alpha", "beta", "pre", "rc")
def get_version_type(version):