diff options
author | Corentin Chary <corentincj@iksaif.net> | 2011-11-27 16:25:44 +0100 |
---|---|---|
committer | Corentin Chary <corentincj@iksaif.net> | 2011-11-27 16:25:44 +0100 |
commit | a11bfdc54f324ad916f189b2505bc37fde304eed (patch) | |
tree | 086579cec4b3dfed6fe922cfdbf134a3cab8c576 /pym/euscan/helpers.py | |
parent | euscan: add basic overlay support (diff) | |
download | euscan-a11bfdc54f324ad916f189b2505bc37fde304eed.tar.gz euscan-a11bfdc54f324ad916f189b2505bc37fde304eed.tar.bz2 euscan-a11bfdc54f324ad916f189b2505bc37fde304eed.zip |
euscan: fix a bug with htop versions
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Diffstat (limited to 'pym/euscan/helpers.py')
-rw-r--r-- | pym/euscan/helpers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/euscan/helpers.py b/pym/euscan/helpers.py index 0c5430c..e987ba2 100644 --- a/pym/euscan/helpers.py +++ b/pym/euscan/helpers.py @@ -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): |