From f0943b68d291cb6125d4af9497916020da419ed1 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Wed, 20 Mar 2013 11:13:21 -0700 Subject: [PATCH] config: fix typo maid -> main this looks like a typo. maid_repo should be main_repo. --- pym/portage/repository/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index ef2e4f0c1..adeab188d 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -656,10 +656,10 @@ class RepoConfigLoader(object): def mainRepo(self): """Returns the main repo""" - maid_repo = self.prepos['DEFAULT'].main_repo - if maid_repo is None: + main_repo = self.prepos['DEFAULT'].main_repo + if main_repo is None: return None - return self.prepos[maid_repo] + return self.prepos[main_repo] def _check_locations(self): """Check if repositories location are correct and show a warning message if not""" -- 2.26.2