diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/emaint | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/emaint b/bin/emaint index 5f54f6af5..21604511b 100755 --- a/bin/emaint +++ b/bin/emaint @@ -335,12 +335,12 @@ class MoveHandler(object): cpv_all.sort() maxval = len(cpv_all) aux_update = self._tree.dbapi.aux_update - meta_keys = self._update_keys + ['repository'] - from portage.update import update_dbentries + meta_keys = self._update_keys + ['repository', 'EAPI'] if onProgress: onProgress(maxval, 0) for i, cpv in enumerate(cpv_all): metadata = dict(zip(meta_keys, aux_get(cpv, meta_keys))) + eapi = metadata.pop('EAPI') repository = metadata.pop('repository') try: updates = allupdates[repository] @@ -351,7 +351,8 @@ class MoveHandler(object): continue if not updates: continue - metadata_updates = update_dbentries(updates, metadata) + metadata_updates = \ + portage.update_dbentries(updates, metadata, eapi=eapi) if metadata_updates: errors.append("'%s' has outdated metadata" % cpv) if onProgress: |