Merge pull request #2200 from jberry-suse/osclib-core-add_role-to-project

osclib/core: request_action_key(): handle add_role/set_bugowner against project.
This commit is contained in:
Jimmy Berry 2019-09-04 16:37:53 -05:00 committed by GitHub
commit 1b3a6e1f26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -781,9 +781,10 @@ def action_is_patchinfo(action):
def request_action_key(action):
identifier = []
if action.type in ['add_role', 'change_devel', 'maintenance_release', 'submit']:
if action.type in ['add_role', 'change_devel', 'maintenance_release', 'set_bugowner', 'submit']:
identifier.append(action.tgt_project)
identifier.append(action.tgt_package)
if action.tgt_package is not None:
identifier.append(action.tgt_package)
if action.type in ['add_role', 'set_bugowner']:
if action.person_name is not None: