From 916736e040959dddd7ee5e2836a59b027d288c1e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 1 Oct 2010 08:28:07 -0700 Subject: Fix typo in 'masters' variable name. --- pym/portage/repository/config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pym') diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index ed511de6f..b035da111 100644 --- 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. -- cgit v1.2.3-1-g7c22