From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4EEA8138334 for ; Sat, 7 Jul 2018 05:24:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37789E0B9E; Sat, 7 Jul 2018 05:23:57 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CDEB2E0BB3 for ; Sat, 7 Jul 2018 05:23:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3CEC4335C89 for ; Sat, 7 Jul 2018 05:23:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E32CD36D for ; Sat, 7 Jul 2018 05:23:50 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1530940933.57fc6696d44df48c6a72fd0c1e08741e11f048e8.dolsen@gentoo> Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeys/gkeys/ X-VCS-Repository: proj/gentoo-keys X-VCS-Files: gkeys/gkeys/keyhandler.py X-VCS-Directories: gkeys/gkeys/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 57fc6696d44df48c6a72fd0c1e08741e11f048e8 X-VCS-Branch: master Date: Sat, 7 Jul 2018 05:23:50 +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: 5f8cb448-6f2d-4bbe-965d-e9f62d93015a X-Archives-Hash: 699f6d0b6df752a47b79d076f7bb36b2 commit: 57fc6696d44df48c6a72fd0c1e08741e11f048e8 Author: Brian Dolbec gentoo org> AuthorDate: Thu Jul 5 15:28:24 2018 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Sat Jul 7 05:22:13 2018 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-keys.git/commit/?id=57fc6696 gkeys keyhandler: Additional debug logging Signed-off-by: Brian Dolbec gentoo.org> gkeys/gkeys/keyhandler.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gkeys/gkeys/keyhandler.py b/gkeys/gkeys/keyhandler.py index 0a02c22..06f4b86 100644 --- a/gkeys/gkeys/keyhandler.py +++ b/gkeys/gkeys/keyhandler.py @@ -75,10 +75,11 @@ class KeyHandler(object): def determine_keys(self, args, default_cat=None): + self.logger.debug(_unicode("KeyHandler: determine_keys; args.category = %s"), args.category or default_cat) seeds = self.seedhandler.load_category(args.category or default_cat) keyring = self.config.get_key('keyring') catdir = os.path.join(keyring, args.category) - self.logger.debug(_unicode("KeyHandler: determine_keys; catdir = %s") % catdir) + self.logger.debug(_unicode("KeyHandler: determine_keys; catdir = %s"), catdir) kwargs = self.seedhandler.build_gkeydict(args) return (catdir, seeds.list(**kwargs)) @@ -88,10 +89,12 @@ class KeyHandler(object): results = {} search_args = [x for x in KEY_OPTIONS if getattr(args, x)] if args.category: + self.logger.debug(_unicode("KeyHandler: key_search; args.category = %s"), args.category) self.seedhandler.load_category(args.category) results[args.category] = self.seedhandler.key_search(args, search_args) else: for cat in sorted(self.config.get_key('seeds')): + self.logger.debug(_unicode("KeyHandler: key_search; cat = %s"), cat) self.seedhandler.load_category(cat) found = self.seedhandler.key_search(args, search_args) if found: