dev-python/yolk: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/2376

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger (asterix)
2016-09-20 18:58:29 +02:00
committed by David Seifert
parent 1914c45f9c
commit 87f4775a3a

View File

@@ -1,20 +0,0 @@
#Patch by Jesus Rivero <neurogeek@gentoo.org>
#Sent upstream on 2011-07-20
diff -uNr yolk-0.4.1.orig/yolk/cli.py yolk-0.4.1/yolk/cli.py
--- yolk-0.4.1.orig/yolk/cli.py 2008-08-11 10:36:54.000000000 -0400
+++ yolk-0.4.1/yolk/cli.py 2011-07-20 10:53:26.000000000 -0400
@@ -830,10 +830,12 @@
"""
pprinter = pprint.PrettyPrinter()
try:
- pprinter.pprint(pkg_resources.get_entry_map(self.options.entry_map))
+ entry_map = pkg_resources.get_entry_map(self.options.show_entry_map)
+ if entry_map:
+ pprinter.pprint(entry_map)
except pkg_resources.DistributionNotFound:
self.logger.error("Distribution not found: %s" \
- % self.options.entry_map)
+ % self.options.show_entry_map)
return 1
return 0