1 |
Author: zmedico |
2 |
Date: 2010-01-29 18:51:27 +0000 (Fri, 29 Jan 2010) |
3 |
New Revision: 15260 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.7/pym/portage/_sets/__init__.py |
7 |
Log: |
8 |
Bug #302005 - Remove broken test code. (trunk r15208) |
9 |
|
10 |
|
11 |
Modified: main/branches/2.1.7/pym/portage/_sets/__init__.py |
12 |
=================================================================== |
13 |
--- main/branches/2.1.7/pym/portage/_sets/__init__.py 2010-01-29 18:50:06 UTC (rev 15259) |
14 |
+++ main/branches/2.1.7/pym/portage/_sets/__init__.py 2010-01-29 18:51:27 UTC (rev 15260) |
15 |
@@ -196,15 +196,3 @@ |
16 |
setconfigpaths.append(os.path.join(settings["PORTAGE_CONFIGROOT"], |
17 |
USER_CONFIG_PATH, "sets.conf")) |
18 |
return SetConfig(setconfigpaths, settings, trees) |
19 |
- |
20 |
-# adhoc test code |
21 |
-if __name__ == "__main__": |
22 |
- import portage |
23 |
- sc = load_default_config(portage.settings, portage.db["/"]) |
24 |
- l, e = sc.getSets() |
25 |
- for x in l: |
26 |
- print(x+":") |
27 |
- print("DESCRIPTION = %s" % l[x].getMetadata("Description")) |
28 |
- for n in sorted(l[x].getAtoms()): |
29 |
- print("- "+n) |
30 |
- print() |