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 199D358973 for ; Fri, 29 Jan 2016 10:22:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49108E0866; Fri, 29 Jan 2016 10:21:57 +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 E3227E0866 for ; Fri, 29 Jan 2016 10:21:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D96CE340C30 for ; Fri, 29 Jan 2016 10:21:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 417528DA for ; Fri, 29 Jan 2016 10:21:52 +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: <1454062810.032c1c60eb2a33f1cd52a0023dcd2e6d0de54f01.dolsen@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/remotedb.py X-VCS-Directories: layman/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 032c1c60eb2a33f1cd52a0023dcd2e6d0de54f01 X-VCS-Branch: master Date: Fri, 29 Jan 2016 10:21:52 +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: bc322a6e-db1c-4bb0-b1ea-02f7e3fe30b6 X-Archives-Hash: 85a29c857660b47f56e5a52f00f5c0fb commit: 032c1c60eb2a33f1cd52a0023dcd2e6d0de54f01 Author: Brian Dolbec gentoo org> AuthorDate: Fri Jan 29 10:18:34 2016 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Fri Jan 29 10:20:10 2016 +0000 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=032c1c60 remotedb.py: Update for latest ssl-fetch API layman/remotedb.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layman/remotedb.py b/layman/remotedb.py index 5a66a3f..75f6739 100644 --- a/layman/remotedb.py +++ b/layman/remotedb.py @@ -119,9 +119,15 @@ class RemoteDB(DbBase): 'info': self.output.info, 'debug': self.output.debug, 'error': self.output.error, + 'exception': self.output.error, + # we want any warnings to be printed to the terminal + # so assign it to output.info with a lower noise level + 'warning': self.output.info, + 'kwargs-exception': {'level': None}, 'kwargs-info': {'level': 5}, 'kwargs-debug': {'level': 2}, 'kwargs-error':{'level': None}, + 'kwargs-warning': {'level': 2}, } fetcher = Connector(connector_output, self.proxies, USERAGENT)