euscan: fix a bug with htop versions

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

No files matched your search

+2 -1
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):