提交 d063c2a4 编写于 作者: W wuzewu

Fix module v1 bug

上级 96096612
......@@ -47,7 +47,7 @@ class ShowCommand:
widths = [15, 40] if platform.is_windows else [15, 50]
aligns = ['^', '<']
colors = ['yellow', '']
colors = ['cyan', '']
table = log.Table(widths=widths, colors=colors, aligns=aligns)
table.append('ModuleName', module.name)
......
......@@ -185,6 +185,7 @@ class ModuleV1(object):
cls.type = module_info.type
cls.summary = module_info.summary
cls.version = utils.Version(module_info.version)
cls.directory = directory
return cls
@classmethod
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册