From 032c1c60eb2a33f1cd52a0023dcd2e6d0de54f01 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Fri, 29 Jan 2016 02:18:34 -0800 Subject: 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) -- cgit v1.2.3-65-gdbad