commit: 74f57af1ed32615083b3871945ce6bf859f92f0f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 11 07:18:43 2015 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 12 14:46:41 2015 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=74f57af1
repoman: deprecated_classes -> ...eclasses, to ease grep
Rename deprecated_classes list to deprecated_eclasses, since the latter
is less ambiguous and easier to find.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Acked-by: Alexander Berntsen <bernalex <AT> gentoo.org>
pym/repoman/checks/ebuilds/checks.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pym/repoman/checks/ebuilds/checks.py
b/pym/repoman/checks/ebuilds/checks.py
index 245ab2b..ae6d96e 100644
--- a/pym/repoman/checks/ebuilds/checks.py
+++ b/pym/repoman/checks/ebuilds/checks.py
@@ -408,7 +408,7 @@ class InheritDeprecated(LineCheck):
repoman_check_name = 'inherit.deprecated'
# deprecated eclass : new eclass (False if no new eclass)
- deprecated_classes = {
+ deprecated_eclasses = {
"bash-completion": "bash-completion-r1",
"boost-utils": False,
"distutils": "distutils-r1",
@@ -436,7 +436,7 @@ class InheritDeprecated(LineCheck):
return
for eclass in direct_inherits:
- replacement = self.deprecated_classes.get(eclass)
+ replacement = self.deprecated_eclasses.get(eclass)
if replacement is None:
pass
elif replacement is False: