From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E1E2D138825 for ; Fri, 7 Nov 2014 20:41:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE290E098F; Fri, 7 Nov 2014 20:41:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F84DE0994 for ; Fri, 7 Nov 2014 20:41:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E3F35340450 for ; Fri, 7 Nov 2014 20:41:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6012E9A5C for ; Fri, 7 Nov 2014 20:41:32 +0000 (UTC) From: "Slawek Lis" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Slawek Lis" Message-ID: <1415392715.c20844cad28caf6554e90d65f8da3d072a2adb9f.slis@gentoo> Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/revdep_rebuild/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/revdep_rebuild/rebuild.py X-VCS-Directories: pym/gentoolkit/revdep_rebuild/ X-VCS-Committer: slis X-VCS-Committer-Name: Slawek Lis X-VCS-Revision: c20844cad28caf6554e90d65f8da3d072a2adb9f X-VCS-Branch: gentoolkit Date: Fri, 7 Nov 2014 20:41:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6949d6a4-6f9b-4019-8927-d45d02551ae4 X-Archives-Hash: 5dfadc2b38466706f1a09e397ffc4073 commit: c20844cad28caf6554e90d65f8da3d072a2adb9f Author: Slawek Lis gentoo org> AuthorDate: Fri Nov 7 20:38:35 2014 +0000 Commit: Slawek Lis gentoo org> CommitDate: Fri Nov 7 20:38:35 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=c20844ca logging level --- pym/gentoolkit/revdep_rebuild/rebuild.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pym/gentoolkit/revdep_rebuild/rebuild.py b/pym/gentoolkit/revdep_rebuild/rebuild.py index fcbd76e..d35906e 100644 --- a/pym/gentoolkit/revdep_rebuild/rebuild.py +++ b/pym/gentoolkit/revdep_rebuild/rebuild.py @@ -53,7 +53,7 @@ def init_logger(settings): logger.setLevel(logging.ERROR) elif settings['VERBOSITY'] == 2: logger.setLevel(logging.INFO) - elif settings['VERBOSITY'] == 3: + elif settings['VERBOSITY'] == 3 or settings['debug']: logger.setLevel(logging.DEBUG) else: logger.setLevel(logging.WARNING) @@ -107,7 +107,6 @@ def main(settings=None, logger=None): @param logger: python logging module defaults to init_logger(settings) @return boolean success/failure """ - if settings is None: print("NO Input settings, using defaults...") settings = DEFAULTS.copy()