aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2020-07-23 18:06:54 -0700
committerZac Medico <zmedico@gentoo.org>2020-07-23 19:10:43 -0700
commit550727af87d5f646617e0c19a3f3300c8117e7f5 (patch)
tree15223c8c8edeb9d7fe962faccd584c79daf0e14b /lib/_emerge/depgraph.py
parentFix extra file. (diff)
downloadportage-550727af87d5f646617e0c19a3f3300c8117e7f5.tar.gz
portage-550727af87d5f646617e0c19a3f3300c8117e7f5.tar.bz2
portage-550727af87d5f646617e0c19a3f3300c8117e7f5.zip
Fix redefined-builtin errors for pylint.
Some of these are simple variable renames. A few of the uses were refactored and some were simply disabled; often due to redefinition as part of a function signature. I did not do any research in terms of API changes so these were typically left as-is. Closes: https://github.com/gentoo/portage/pull/587 Signed-off-by: Alec Warner <antarus@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/_emerge/depgraph.py')
-rw-r--r--lib/_emerge/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_emerge/depgraph.py b/lib/_emerge/depgraph.py
index 653348d34..3ff90190d 100644
--- a/lib/_emerge/depgraph.py
+++ b/lib/_emerge/depgraph.py
@@ -7476,7 +7476,7 @@ class depgraph:
mygraph.order.sort(key=cmp_sort_key(cmp_merge_preference))
- def altlist(self, reversed=DeprecationWarning):
+ def altlist(self, reversed=DeprecationWarning): # pylint: disable=redefined-builtin
if reversed is not DeprecationWarning:
warnings.warn("The reversed parameter of "