openerp apps abstract Command fix
bzr revid: al@openerp.com-20121127010129-l0h604dla7hc7abd
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user