提交 a9631c4e 编写于 作者: S Shinwell Hu

imporove git handling

上级 d287543c
......@@ -188,7 +188,9 @@ def __git_resp_to_tags(resp):
for line in resp.splitlines():
m = pattern.match(line)
if m:
tags.append(m.group(2))
tag = m.group(2)
if not tag.endswith("^{}"):
tags.append(tag)
return tags
def check_git (info):
......
......@@ -141,7 +141,7 @@ Yours openEuler-Advisor.
else:
return resp
else:
return False
return resp
def get_issues(self, pkg, prj="src-openeuler"):
"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册