public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r15527 - main/branches/2.1.7/pym/portage
@ 2010-03-02 19:49 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2010-03-02 19:49 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2010-03-02 19:49:17 +0000 (Tue, 02 Mar 2010)
New Revision: 15527

Modified:
   main/branches/2.1.7/pym/portage/__init__.py
Log:
In config._expandLicenseToken(), make sure traversed_groups is only initialized
when appropriate. (trunk r15288)

Modified: main/branches/2.1.7/pym/portage/__init__.py
===================================================================
--- main/branches/2.1.7/pym/portage/__init__.py	2010-03-02 19:49:07 UTC (rev 15526)
+++ main/branches/2.1.7/pym/portage/__init__.py	2010-03-02 19:49:17 UTC (rev 15527)
@@ -2292,7 +2292,7 @@
 			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:




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-02 19:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-02 19:49 [gentoo-commits] portage r15527 - main/branches/2.1.7/pym/portage Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox