Comment 1 for bug 1525236

Revision history for this message
Dmitry Teselkin (teselkin-d) wrote :

Looks like issue with 'cliff'.

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
---