From fd8b642afb7ec732f2407553788fe49aed27cdec Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Sat, 23 Jan 2016 15:31:07 -0800 Subject: actions.py: Update for ssl-fetch API changes --- gkeys/gkeys/actions.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gkeys') 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( -- cgit v1.2.3-18-g5258