From 467a958ab0a4bcee03b9d4e611a65a945916b189 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Mon, 26 Sep 2016 12:09:00 +0200 Subject: [FIX] core: handle gevent on command line correctly --- odoo/cli/command.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odoo/cli/command.py') diff --git a/odoo/cli/command.py b/odoo/cli/command.py index fa22fd5baf1..75aa392fdfb 100644 --- a/odoo/cli/command.py +++ b/odoo/cli/command.py @@ -62,3 +62,5 @@ def main(): if command in commands: o = commands[command]() o.run(args) + else: + sys.exit('Unknow command %r' % (command,)) -- cgit v1.2.3