提交 bd5aa5a3 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!16 fix bug: requires missing last letter

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