projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4d0a6b
)
config: fix typo maid -> main
author
Brandon Philips
<brandon@ifup.co>
Wed, 20 Mar 2013 18:13:21 +0000
(11:13 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 20 Mar 2013 18:37:47 +0000
(11:37 -0700)
this looks like a typo. maid_repo should be main_repo.
pym/portage/repository/config.py
patch
|
blob
|
history
diff --git
a/pym/portage/repository/config.py
b/pym/portage/repository/config.py
index ef2e4f0c143f8091b708814dda8fed2556d424a6..adeab188d2cad2165591400c0759d9597dd95c1b 100644
(file)
--- 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"""
- mai
d
_repo = self.prepos['DEFAULT'].main_repo
- if mai
d
_repo is None:
+ mai
n
_repo = self.prepos['DEFAULT'].main_repo
+ if mai
n
_repo is None:
return None
- return self.prepos[mai
d
_repo]
+ return self.prepos[mai
n
_repo]
def _check_locations(self):
"""Check if repositories location are correct and show a warning message if not"""