euscanwww: Fixing and using vtype in stabilization_candidates, added db_index

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino
2013-03-09 12:07:47 +01:00
parent c55d09a031
commit 4dfcd92aa5
4 changed files with 204 additions and 4 deletions

View File

@ -15,6 +15,9 @@ def is_version_stable(version):
def get_version_type(version):
types = []
if "9999" in version or "99999999" in version:
return "live"
for token in re.findall("[\._-]([a-zA-Z]+)", version):
if token in gentoo_types:
types.append(token)