diff options
author | Tim Harder <radhermit@gmail.com> | 2016-06-10 22:54:02 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2016-06-10 22:54:02 -0400 |
commit | ea57a455195fdfbda4de7ff6d71e6f6e64f625b2 (patch) | |
tree | c7c8e08434d316ada6287853b983ebc389ec220a | |
parent | ebuild/repository: drop compat hacks for pkgcheck (diff) | |
download | pkgcore-ea57a455195fdfbda4de7ff6d71e6f6e64f625b2.tar.gz pkgcore-ea57a455195fdfbda4de7ff6d71e6f6e64f625b2.tar.bz2 pkgcore-ea57a455195fdfbda4de7ff6d71e6f6e64f625b2.zip |
ebuild/repository: minor variable name consistency
-rw-r--r-- | pkgcore/ebuild/repository.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgcore/ebuild/repository.py b/pkgcore/ebuild/repository.py index 96a23aa6b..720ec0824 100644 --- a/pkgcore/ebuild/repository.py +++ b/pkgcore/ebuild/repository.py @@ -363,12 +363,12 @@ class _UnconfiguredTree(prototype.tree): @klass.jit_attr def hardcoded_categories(self): # try reading $LOC/profiles/categories if it's available. - cats = readlines( + categories = readlines( pjoin(self.base, 'profiles', 'categories'), True, True, True) - if cats is not None: - cats = tuple(imap(intern, cats)) - return cats + if categories is not None: + categories = tuple(imap(intern, categories)) + return categories def _get_categories(self, *optional_category): # why the auto return? current porttrees don't allow/support |