diff options
-rw-r--r-- | overlint/cli.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/overlint/cli.py b/overlint/cli.py index a0720b2..d941f25 100644 --- a/overlint/cli.py +++ b/overlint/cli.py @@ -3,7 +3,7 @@ from __future__ import print_function -VERSION_STR = '0.3' +VERSION_STR = '0.4' import sys import os @@ -54,6 +54,7 @@ def highest_revision_only(versions): def find_missed_bumps(gentoo_versions, overlay_versions): missed_version_bumps = list() missed_revision_bumps = list() + gentoo_zero_revisions = set(_revision_matcher.sub('', gv) for gv in gentoo_versions) for ov in overlay_versions: if '999' in ov: continue @@ -66,7 +67,7 @@ def find_missed_bumps(gentoo_versions, overlay_versions): break if newer_than_gentoo: ov_without_revision = _revision_matcher.sub('', ov) - if ov_without_revision in gentoo_versions: + if ov_without_revision in gentoo_zero_revisions: missed_revision_bumps.append(ov) else: missed_version_bumps.append(ov) |