Revision f5ff79d9 kamaki/cli/commands/__init__.py
b/kamaki/cli/commands/__init__.py | ||
---|---|---|
134 | 134 |
def _update_max_threads(self): |
135 | 135 |
if getattr(self, 'client', None): |
136 | 136 |
max_threads = int(self['config'].get_global('max_threads')) |
137 |
assert max_threads > 0 |
|
137 |
assert max_threads > 0, 'invalid max_threads config option'
|
|
138 | 138 |
self.client.MAX_THREADS = max_threads |
139 | 139 |
|
140 | 140 |
def _safe_progress_bar(self, msg, arg='progress_bar'): |
Also available in: Unified diff