From 7ee928b01bac022bf42d12a1a1a4692cdc210088 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 2 Mar 2010 19:49:17 +0000 Subject: [PATCH] In config._expandLicenseToken(), make sure traversed_groups is only initialized when appropriate. (trunk r15288) svn path=/main/branches/2.1.7/; revision=15527 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2