public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11611 - main/trunk/pym/_emerge
@ 2008-10-02  6:56 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-10-02  6:56 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-10-02 06:56:33 +0000 (Thu, 02 Oct 2008)
New Revision: 11611

Modified:
   main/trunk/pym/_emerge/__init__.py
Log:
Remove pointless copying of the owners dict inside display_preserved_libs().


Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py	2008-10-02 06:35:04 UTC (rev 11610)
+++ main/trunk/pym/_emerge/__init__.py	2008-10-02 06:56:33 UTC (rev 11611)
@@ -10920,15 +10920,13 @@
 				consumer_map[f] = consumers
 				search_for_owners.update(consumers[:MAX_DISPLAY+1])
 
-		all_owners = vardbapi._owners.getFileOwnerMap(search_for_owners)
+		owners = vardbapi._owners.getFileOwnerMap(search_for_owners)
 
 		for cpv in plibdata:
 			print colorize("WARN", ">>>") + " package: %s" % cpv
 			for f in plibdata[cpv]:
 				print colorize("WARN", " * ") + " - %s" % f
 				consumers = consumer_map[f]
-				owners = dict((c, all_owners[c])
-					for c in consumers[:MAX_DISPLAY+1])
 				for c in consumers[:MAX_DISPLAY]:
 					print colorize("WARN", " * ") + "     used by %s (%s)" % (c, ", ".join([x.mycpv for x in owners[c]]))
 				if len(consumers) == MAX_DISPLAY + 1:




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

only message in thread, other threads:[~2008-10-02  6:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-02  6:56 [gentoo-commits] portage r11611 - main/trunk/pym/_emerge 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