From: Zac Medico Date: Fri, 1 Oct 2010 15:28:07 +0000 (-0700) Subject: Fix typo in 'masters' variable name. X-Git-Tag: v2.2_rc90~60 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=916736e040959dddd7ee5e2836a59b027d288c1e;p=portage.git Fix typo in 'masters' variable name. --- 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.