apply patch from #1548

This commit is contained in:
Damien Churchill 2011-05-06 23:59:31 +01:00 committed by Calum Lind
parent f299be0eb9
commit 983c9dad99

View File

@ -218,7 +218,7 @@ class ConsoleUI(component.Component):
self.interactive = True
self._commands = cmds
if args:
args = args[0]
args = ' '.join(args)
self.interactive = False
if not cmds:
print "Sorry, couldn't find any commands"