diff options
Diffstat (limited to 'pym/repoman/checks.py')
-rw-r--r-- | pym/repoman/checks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index 240f2498a..8b80214ef 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -288,7 +288,7 @@ class EapiDefinition(LineCheck): _eapi_re = portage._pms_eapi_re def new(self, pkg): - self._cached_eapi = pkg.metadata['EAPI'] + self._cached_eapi = pkg.eapi self._parsed_eapi = None self._eapi_line_num = None @@ -879,7 +879,7 @@ def run_checks(contents, pkg): for lc in checks: if is_comment and lc.ignore_comment: continue - if lc.check_eapi(pkg.metadata['EAPI']): + if lc.check_eapi(pkg.eapi): ignore = lc.ignore_line if not ignore or not ignore.match(line): e = lc.check(num, line) |