From: Marius Mauch Date: Tue, 13 May 2008 22:38:16 +0000 (-0000) Subject: make debug mode configurable X-Git-Tag: v2.2_pre7~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c84bd2163350f00815aa6170bb40ff6605239f79;p=portage.git make debug mode configurable svn path=/main/trunk/; revision=10326 --- diff --git a/pym/portage/sets/libs.py b/pym/portage/sets/libs.py index 8159cc35f..774ef5ac4 100644 --- a/pym/portage/sets/libs.py +++ b/pym/portage/sets/libs.py @@ -3,6 +3,7 @@ # $Id$ from portage.sets.base import PackageSet +from portage.sets import get_boolean from portage.dbapi.vartree import dblink from portage.versions import catsplit, catpkgsplit @@ -50,5 +51,6 @@ class PreservedLibraryConsumerSet(LibraryConsumerSet): self._setAtoms(self.mapPathsToAtoms(consumers)) def singleBuilder(cls, options, settings, trees): - return PreservedLibraryConsumerSet(trees["vartree"].dbapi, True) + debug = get_boolean(options, "debug", False) + return PreservedLibraryConsumerSet(trees["vartree"].dbapi, debug) singleBuilder = classmethod(singleBuilder)