summaryrefslogtreecommitdiffstats
path: root/pym/portage
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2008-05-13 22:33:58 +0000
committerMarius Mauch <genone@gentoo.org>2008-05-13 22:33:58 +0000
commit2ae3ea32b982d9855c4943cc6c54adbb9d227aea (patch)
treea40f4e4b789da54819d6e831c1afbc80677785a6 /pym/portage
parent2541f19612d59e5804186d531ac659dea918ccee (diff)
downloadportage-2ae3ea32b982d9855c4943cc6c54adbb9d227aea.tar.gz
portage-2ae3ea32b982d9855c4943cc6c54adbb9d227aea.tar.bz2
portage-2ae3ea32b982d9855c4943cc6c54adbb9d227aea.zip
Add subversion support for repoman (patch by Fabien Groffen, http://archives.gentoo.org/gentoo-portage-dev/msg_b7080f212c3eb09c943a1ce5a7356f01.xml)
svn path=/main/trunk/; revision=10325
Diffstat (limited to 'pym/portage')
-rw-r--r--pym/portage/sets/libs.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/pym/portage/sets/libs.py b/pym/portage/sets/libs.py
index 4ab8a33fe..8159cc35f 100644
--- a/pym/portage/sets/libs.py
+++ b/pym/portage/sets/libs.py
@@ -37,7 +37,11 @@ class PreservedLibraryConsumerSet(LibraryConsumerSet):
if reg:
for libs in reg.getPreservedLibs().values():
for lib in libs:
- #print lib, self.dbapi.linkmap.findConsumers(lib)
+ if self.debug:
+ print lib
+ for x in sorted(self.dbapi.linkmap.findConsumers(lib)):
+ print " ", x
+ print "-"*40
consumers.update(self.dbapi.linkmap.findConsumers(lib))
else:
return
@@ -46,5 +50,5 @@ class PreservedLibraryConsumerSet(LibraryConsumerSet):
self._setAtoms(self.mapPathsToAtoms(consumers))
def singleBuilder(cls, options, settings, trees):
- return PreservedLibraryConsumerSet(trees["vartree"].dbapi)
+ return PreservedLibraryConsumerSet(trees["vartree"].dbapi, True)
singleBuilder = classmethod(singleBuilder)