From: Zac Medico Date: Tue, 2 Mar 2010 19:49:17 +0000 (-0000) Subject: In config._expandLicenseToken(), make sure traversed_groups is only initialized X-Git-Tag: v2.1.8~195 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7ee928b01bac022bf42d12a1a1a4692cdc210088;p=portage.git In config._expandLicenseToken(), make sure traversed_groups is only initialized when appropriate. (trunk r15288) svn path=/main/branches/2.1.7/; revision=15527 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 07189d94b..8f4ef455b 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: