Comment 2 for bug 1326811

Revision history for this message
SnowDust (nilakhya-chatterjee) wrote :

more info for the cliff call, at line 67

/usr/local/lib/python2.7/dist-packages/cliff/commandmanager.py

 58 search_args = argv[:]
 59 name = ''
 60 while search_args:
 61 if search_args[0].startswith('-'):
 62 raise ValueError('Invalid command %r' % search_args[0])
 63 next_val = search_args.pop(0)
 64 name = '%s %s' % (name, next_val) if name else next_val
 65 if name in self.commands:
 66 cmd_ep = self.commands[name]
 67 cmd_factory = cmd_ep.load()
 68 return (cmd_factory, name, search_args)