Pop the proper key name.

This commit is contained in:
Pedro Algarvio 2013-06-22 20:24:37 +01:00
parent ae4aaa37d2
commit 130cd902f0

View File

@ -541,7 +541,7 @@ class LogLevelMixIn(object):
if cli_log_datefmt in self.config and not \
self.config.get(cli_log_datefmt):
# Remove it from config so it inherits from log_datefmt_console
self.config.pop(cli_log_fmt)
self.config.pop(cli_log_datefmt)
if self.config.get('log_datefmt_console', None) is None:
# Remove it from config so it inherits from log_datefmt