euscan: fix a bug with htop versions
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
1 parent
7ff26556d1
commit
a11bfdc54f
2 files changed
+13
-3
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user