vi /usr/lib/python2.7/site-packages/cliff/help.py
---
21 try:
22 factory = ep.load()
23 except Exception as err:
24 app.stdout.write('Could not load %r\n' % ep)
25 if namespace.debug:
26 traceback.print_exc(file=app.stdout)
27 continue
---
It could be fixed by the code below (see line 25)
---
21 try:
22 factory = ep.load()
23 except Exception as err:
24 app.stdout.write('Could not load %r\n' % ep)
25 if getattr(namespace, 'debug', False):
26 traceback.print_exc(file=app.stdout)
27 continue
---
Looks like issue with 'cliff'.
vi /usr/lib/ python2. 7/site- packages/ cliff/help. py write(' Could not load %r\n' % ep) print_exc( file=app. stdout)
---
21 try:
22 factory = ep.load()
23 except Exception as err:
24 app.stdout.
25 if namespace.debug:
26 traceback.
27 continue
---
It could be fixed by the code below (see line 25) write(' Could not load %r\n' % ep) print_exc( file=app. stdout)
---
21 try:
22 factory = ep.load()
23 except Exception as err:
24 app.stdout.
25 if getattr(namespace, 'debug', False):
26 traceback.
27 continue
---