projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32687ea
)
Fix typo in 'masters' variable name.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Oct 2010 15:28:07 +0000
(08:28 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Oct 2010 15:28:07 +0000
(08:28 -0700)
pym/portage/repository/config.py
patch
|
blob
|
history
diff --git
a/pym/portage/repository/config.py
b/pym/portage/repository/config.py
index ed511de6f463cf8f536001fe7d63fec1dc6ebdec..b035da111757fab7a34fd8bce62433a4cfb0126d 100644
(file)
--- a/
pym/portage/repository/config.py
+++ b/
pym/portage/repository/config.py
@@
-205,8
+205,10
@@
class RepoConfigLoader(object):
layout_data, layout_errors = layout_file.load()
masters = layout_data.get('masters')
- if masters:
- master = masters.split()
+ if masters and masters.strip():
+ masters = masters.split()
+ else:
+ masters = None
repo.masters = masters
#Take aliases into account.