Only people watching issues should be CC'd

This commit is contained in:
Ralph Bean 2017-08-03 16:05:39 +00:00
parent fd4a522b53
commit 09af2c0457

View file

@ -449,8 +449,8 @@ def pagure_project_to_acl_schema(pagure_project, product):
user_cc_list = []
for user, watch_levels in watchers_rv_json['watchers'].items():
# Only people watching commits should be CC'd
if 'commit' in watch_levels:
# Only people watching issues should be CC'd
if 'issues' in watch_levels:
user_cc_list.append(user)
summary = None