openerp apps abstract Command fix
bzr revid: al@openerp.com-20121127010129-l0h604dla7hc7abd
This commit is contained in:
parent
13cdc34b65
commit
e36c474bde
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue