Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/layman:master commit in: layman/
Date: Fri, 29 Jan 2016 10:22:00
Message-Id: 1454062810.032c1c60eb2a33f1cd52a0023dcd2e6d0de54f01.dolsen@gentoo
1 commit: 032c1c60eb2a33f1cd52a0023dcd2e6d0de54f01
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 29 10:18:34 2016 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 29 10:20:10 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=032c1c60
7
8 remotedb.py: Update for latest ssl-fetch API
9
10 layman/remotedb.py | 6 ++++++
11 1 file changed, 6 insertions(+)
12
13 diff --git a/layman/remotedb.py b/layman/remotedb.py
14 index 5a66a3f..75f6739 100644
15 --- a/layman/remotedb.py
16 +++ b/layman/remotedb.py
17 @@ -119,9 +119,15 @@ class RemoteDB(DbBase):
18 'info': self.output.info,
19 'debug': self.output.debug,
20 'error': self.output.error,
21 + 'exception': self.output.error,
22 + # we want any warnings to be printed to the terminal
23 + # so assign it to output.info with a lower noise level
24 + 'warning': self.output.info,
25 + 'kwargs-exception': {'level': None},
26 'kwargs-info': {'level': 5},
27 'kwargs-debug': {'level': 2},
28 'kwargs-error':{'level': None},
29 + 'kwargs-warning': {'level': 2},
30 }
31 fetcher = Connector(connector_output, self.proxies, USERAGENT)