From e36c474bde4855cf6afce0f5d1303e2a79548c40 Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Tue, 27 Nov 2012 02:01:29 +0100 Subject: [PATCH] openerp apps abstract Command fix bzr revid: al@openerp.com-20121127010129-l0h604dla7hc7abd --- openerp/cli/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openerp/cli/__init__.py b/openerp/cli/__init__.py index c04b45e7fd9..d5d726e808d 100644 --- a/openerp/cli/__init__.py +++ b/openerp/cli/__init__.py @@ -14,9 +14,10 @@ class CommandType(type): commands[name] = cls class Command(object): + """Subclass this class to define new openerp subcommands """ __metaclass__ = CommandType - def run(): + def run(self, args): pass import server