提交 a0231fc3 编写于 作者: W wuzewu

Fix bug

上级 279dc9ab
...@@ -158,6 +158,8 @@ class Module(object): ...@@ -158,6 +158,8 @@ class Module(object):
self._summary = utils.from_module_attr_to_pyobj( self._summary = utils.from_module_attr_to_pyobj(
module_info.map.data['summary']) module_info.map.data['summary'])
self._initialize()
@classmethod @classmethod
def init_with_name(cls, name, version=None): def init_with_name(cls, name, version=None):
log_msg = "Installing %s module" % name log_msg = "Installing %s module" % name
...@@ -234,6 +236,9 @@ class Module(object): ...@@ -234,6 +236,9 @@ class Module(object):
def is_runable(self): def is_runable(self):
return False return False
def _initialize(self):
pass
class ModuleHelper(object): class ModuleHelper(object):
def __init__(self, directory): def __init__(self, directory):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册