From: Brandon Philips Date: Wed, 20 Mar 2013 18:13:21 +0000 (-0700) Subject: config: fix typo maid -> main X-Git-Tag: v2.2.0_alpha169~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f0943b68d291cb6125d4af9497916020da419ed1;p=portage.git config: fix typo maid -> main this looks like a typo. maid_repo should be main_repo. --- 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"""