pkglistgen: pass the test if the comment was replied to with 'ignore'

To allow passing multiple staging projects without force accepting
(https://github.com/openSUSE/openSUSE-release-tools/issues/1833)
This commit is contained in:
Stephan Kulow 2022-03-19 14:03:20 +01:00
parent 0f0a5ab6c4
commit fbbf357169

View File

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