diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2016-01-29 02:18:34 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2016-01-29 02:20:10 -0800 |
commit | 032c1c60eb2a33f1cd52a0023dcd2e6d0de54f01 (patch) | |
tree | 686312a4f109f3495a3e5ed2e0598cf02305ec11 | |
parent | module.py: fixes bug where the module_spec module name was not used (diff) | |
download | layman-032c1c60eb2a33f1cd52a0023dcd2e6d0de54f01.tar.gz layman-032c1c60eb2a33f1cd52a0023dcd2e6d0de54f01.tar.bz2 layman-032c1c60eb2a33f1cd52a0023dcd2e6d0de54f01.zip |
remotedb.py: Update for latest ssl-fetch API
-rw-r--r-- | layman/remotedb.py | 6 |
1 files changed, 6 insertions, 0 deletions
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) |