euscan: fix a bug with htop versions

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
Corentin Chary
2011-11-27 16:25:44 +01:00
parent 7ff26556d1
commit a11bfdc54f
2 changed files with 13 additions and 3 deletions

View File

@ -69,7 +69,8 @@ def version_is_nightly(a, b):
''' Try to skip nightly builds when not wanted (www-apps/moodle) '''
if len(a) != len(b) and len(b) == 2 and len(b[0]) == len('yyyymmdd'):
return True
if b[0][:4] != '0000':
return True
return False
def version_blacklisted(cp, version):