Revision b3bb083f
b/kamaki/cli/commands/__init__.py | ||
---|---|---|
50 | 50 |
pass |
51 | 51 |
|
52 | 52 |
def _update_low_level_log(self): |
53 |
if hasattr(self, 'client'):
|
|
53 |
try:
|
|
54 | 54 |
self.client.LOG_TOKEN, self.client.LOG_DATA = ( |
55 | 55 |
self['config'].get('global', 'log_token') == 'on', |
56 | 56 |
self['config'].get('global', 'log_data') == 'on') |
57 |
except: |
|
58 |
pass |
|
57 | 59 |
|
58 | 60 |
def _safe_progress_bar(self, msg, arg='progress_bar'): |
59 | 61 |
"""Try to get a progress bar, but do not raise errors""" |
Also available in: Unified diff