* fix: not a bright idea to use ctx.ui in a ui constructor :)

This commit is contained in:
Eray Özkural
2005-10-05 10:02:27 +00:00
parent a2205e96db
commit 88ae8d9061
+2 -1
View File
@@ -89,7 +89,8 @@ class PisiCLI(object):
self.command = Command.get_command(cmd_name)
if not self.command:
ctx.ui.error(_("Unrecognized command: %s") % cmd_name)
str = _("Unrecognized command: %s") % cmd_name
print str.encode('utf-8')
self.die()
def die(self):