Merge pull request #2759 from coolo/accept_ignore

pkglistgen: pass the test if the comment was replied to with 'ignore'
This commit is contained in:
Stephan Kulow 2022-03-19 14:06:06 +01:00 committed by GitHub
commit 4424623d83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -601,7 +601,10 @@ class PkgListGen(ToolBase.ToolBase):
else:
for c in comments.values():
if c['parent'] == comment['id']:
print(c)
ct = c['comment']
if ct.startswith('ignore ') or ct == 'ignore':
print(c)
return 0
return 1