Revision 5506d7aa kamaki/cli/__init__.py
b/kamaki/cli/__init__.py | ||
---|---|---|
332 | 332 |
except ImportError as ie: |
333 | 333 |
continue |
334 | 334 |
if not pkg: |
335 |
kloger.debug('Loading cmd grp %s failed: %s' % (spec, ie)) |
|
335 |
msg = 'Loading command group %s failed: %s' % (spec, ie) |
|
336 |
try: |
|
337 |
kloger.debug(msg) |
|
338 |
except AttributeError: |
|
339 |
print msg |
|
340 |
print 'HINT: use a text editor to remove all global.*_cli' |
|
341 |
print ' settings from the configuration file' |
|
336 | 342 |
return pkg |
337 | 343 |
|
338 | 344 |
|
Also available in: Unified diff