1 |
Author: zmedico |
2 |
Date: 2010-03-02 19:49:17 +0000 (Tue, 02 Mar 2010) |
3 |
New Revision: 15527 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.7/pym/portage/__init__.py |
7 |
Log: |
8 |
In config._expandLicenseToken(), make sure traversed_groups is only initialized |
9 |
when appropriate. (trunk r15288) |
10 |
|
11 |
Modified: main/branches/2.1.7/pym/portage/__init__.py |
12 |
=================================================================== |
13 |
--- main/branches/2.1.7/pym/portage/__init__.py 2010-03-02 19:49:07 UTC (rev 15526) |
14 |
+++ main/branches/2.1.7/pym/portage/__init__.py 2010-03-02 19:49:17 UTC (rev 15527) |
15 |
@@ -2292,7 +2292,7 @@ |
16 |
rValue.append(token) |
17 |
return rValue |
18 |
group_name = license_name[1:] |
19 |
- if not traversed_groups: |
20 |
+ if traversed_groups is None: |
21 |
traversed_groups = set() |
22 |
license_group = self._license_groups.get(group_name) |
23 |
if group_name in traversed_groups: |