commit:     fd8b642afb7ec732f2407553788fe49aed27cdec
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 23 23:31:07 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat Jan 23 23:31:07 2016 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-keys.git/commit/?id=fd8b642a

actions.py: Update for ssl-fetch API changes

 gkeys/gkeys/actions.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gkeys/gkeys/actions.py b/gkeys/gkeys/actions.py
index d3e403d..d61b415 100644
--- a/gkeys/gkeys/actions.py
+++ b/gkeys/gkeys/actions.py
@@ -712,9 +712,15 @@ class Actions(ActionBase):
                  'info': self.logger.info,
                  'debug': self.logger.debug,
                  'error': self.logger.error,
+                 'exception': self.logger.exception,
+                 # we want any warnings to be printed to the terminal
+                 # so assign it to logging.error
+                 'warning': self.logger.error,
                  'kwargs-info': {},
                  'kwargs-debug': {},
                  'kwargs-error': {},
+                 'kwargs-exception': {},
+                 'kwargs-warning': {},
             }
             fetcher = Connector(connector_output, None, "Gentoo Keys")
             self.logger.debug(

Reply via email to