Commit b3bb083f authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

DISABLE config log options in interactive shell

to avoid kamaki failures due to logging problems
parent 5fdccdec
......@@ -50,10 +50,12 @@ class _command_init(object):
pass
def _update_low_level_log(self):
if hasattr(self, 'client'):
try:
self.client.LOG_TOKEN, self.client.LOG_DATA = (
self['config'].get('global', 'log_token') == 'on',
self['config'].get('global', 'log_data') == 'on')
except:
pass
def _safe_progress_bar(self, msg, arg='progress_bar'):
"""Try to get a progress bar, but do not raise errors"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment