summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-24 05:07:31 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-24 05:07:31 +0000
commita65ffe8012b0fa30924577c2d947d562396583cb (patch)
treea5bab38ee6af53891aa9cb1c5be22ef95cae8b6e
parent1e831b40d5130bce96a6243e80836f5d373f1527 (diff)
downloadportage-a65ffe8012b0fa30924577c2d947d562396583cb.tar.gz
portage-a65ffe8012b0fa30924577c2d947d562396583cb.tar.bz2
portage-a65ffe8012b0fa30924577c2d947d562396583cb.zip
Bug #302005 - Remove broken test code.
svn path=/main/trunk/; revision=15208
-rw-r--r--pym/portage/sets/__init__.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/pym/portage/sets/__init__.py b/pym/portage/sets/__init__.py
index 59c3dbfd7..78f2628bd 100644
--- a/pym/portage/sets/__init__.py
+++ b/pym/portage/sets/__init__.py
@@ -179,15 +179,3 @@ def load_default_config(settings, trees):
setconfigpaths.append(os.path.join(settings["PORTAGE_CONFIGROOT"],
USER_CONFIG_PATH, "sets.conf"))
return SetConfig(setconfigpaths, settings, trees)
-
-# adhoc test code
-if __name__ == "__main__":
- import portage
- sc = load_default_config(portage.settings, portage.db["/"])
- l, e = sc.getSets()
- for x in l:
- print(x+":")
- print("DESCRIPTION = %s" % l[x].getMetadata("Description"))
- for n in sorted(l[x].getAtoms()):
- print("- "+n)
- print()