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:
commit
4424623d83
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user