Comment 2 for bug 1751822

Revision history for this message
Corey Bryant (corey.bryant) wrote :

$ openstack
(openstack) set debug true
debug - was: False
now: True
(openstack) help network
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cmd2.py", line 776, in onecmd_plus_hooks
    stop = self.onecmd(statement)
  File "/usr/lib/python2.7/dist-packages/cmd2.py", line 964, in onecmd
    stop = func(statement)
  File "/usr/lib/python2.7/dist-packages/cliff/interactive.py", line 114, in do_help
    self.default(self.parsed('help ' + arg))
AttributeError: InteractiveApp instance has no attribute 'parsed'
EXCEPTION of type 'AttributeError' occurred with message: 'InteractiveApp instance has no attribute 'parsed''

It looks like upstream cmd2 moved the parsed method from class Cmd() to class ParserManager() in 0.7.3.

git clone https://github.com/python-cmd2/cmd2.git
git checkout 0.7.2
git checkout 0.7.3