提交 8a24de92 编写于 作者: G gaoruoshu 提交者: Gitee

update

上级 b0cd05d1
...@@ -139,10 +139,8 @@ class PyPorter: ...@@ -139,10 +139,8 @@ class PyPorter:
return return
for r in rs: for r in rs:
idx = r.find(";") idx = r.find(";")
if r[idx] == ";": if idx != -1:
mod = transform_module_name(r[:idx]) r = r[:idx]
print("Requires:\t" + mod)
else:
print("Requires:\t" + transform_module_name(r)) print("Requires:\t" + transform_module_name(r))
def __get_buildarch(self): def __get_buildarch(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册