From 6bb8256f0505ed2c5437ca7733f656ca57bb4ac5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 30 Jan 2010 14:26:38 +0000 Subject: [PATCH] In config._expandLicenseToken(), make sure traversed_groups is only initialized when appropriate. svn path=/main/trunk/; revision=15288 --- 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 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: -- 2.26.2