##// END OF EJS Templates
default-reviewers: fixed problems with new diff format for more advanced default reviewer rules.
marcink -
r4385:cf2c34da stable
parent child Browse files
Show More
@@ -4962,7 +4962,9 b' class RepoReviewRule(Base, BaseModel):'
4962 4962 else:
4963 4963 file_pattern = glob2re(self.file_pattern)
4964 4964 file_regex = re.compile(file_pattern)
4965 for filename in files_changed:
4965 for file_data in files_changed:
4966 filename = file_data.get('filename')
4967
4966 4968 if file_regex.search(filename):
4967 4969 files_matches = True
4968 4970 break
@@ -186,7 +186,7 b' def get_diff_info('
186 186 email = commit.author_email
187 187 user = User.get_from_cs_author(author)
188 188 if user:
189 user_counts[user] = user_counts.get(user, 0) + 1
189 user_counts[user.user_id] = user_counts.get(user.user_id, 0) + 1
190 190 author_counts[author] = author_counts.get(author, 0) + 1
191 191 email_counts[email] = email_counts.get(email, 0) + 1
192 192
General Comments 0
You need to be logged in to leave comments. Login now