From: Zac Medico Date: Sat, 30 Jan 2010 14:26:38 +0000 (-0000) Subject: In config._expandLicenseToken(), make sure traversed_groups is only initialized X-Git-Tag: v2.2_rc63~104 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6bb8256f0505ed2c5437ca7733f656ca57bb4ac5;p=portage.git In config._expandLicenseToken(), make sure traversed_groups is only initialized when appropriate. svn path=/main/trunk/; revision=15288 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index bfb834a85..5608cd93e 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -2292,7 +2292,7 @@ class config(object): rValue.append(token) return rValue group_name = license_name[1:] - if not traversed_groups: + if traversed_groups is None: traversed_groups = set() license_group = self._license_groups.get(group_name) if group_name in traversed_groups: