* [gentoo-commits] portage r15260 - main/branches/2.1.7/pym/portage/_sets
@ 2010-01-29 18:51 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2010-01-29 18:51 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2010-01-29 18:51:27 +0000 (Fri, 29 Jan 2010)
New Revision: 15260
Modified:
main/branches/2.1.7/pym/portage/_sets/__init__.py
Log:
Bug #302005 - Remove broken test code. (trunk r15208)
Modified: main/branches/2.1.7/pym/portage/_sets/__init__.py
===================================================================
--- main/branches/2.1.7/pym/portage/_sets/__init__.py 2010-01-29 18:50:06 UTC (rev 15259)
+++ main/branches/2.1.7/pym/portage/_sets/__init__.py 2010-01-29 18:51:27 UTC (rev 15260)
@@ -196,15 +196,3 @@
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()
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-29 18:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-29 18:51 [gentoo-commits] portage r15260 - main/branches/2.1.7/pym/portage/_sets 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