Skip to content

Commit

Permalink
Fix the reviewed changes report from Gerrit
Browse files Browse the repository at this point in the history
Omit owned CLs from the reviewed changes report. All owned CLs appear as
if the owner is a reviewer too, but it doesn't make sense to include
them in this report.
  • Loading branch information
hferreiro committed Jan 16, 2019
1 parent b77bff4 commit c0449ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion did/plugins/gerrit.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def fetch(self):
self.stats = []
reviewer = self.user.login
tickets = GerritUnit.fetch(
self, 'reviewer:{0}+is:closed&q=reviewer:{0}+is:open'.format(
self, 'reviewer:{0}+-owner:{0}'.format(
self.user.login),
'', limit_since=True)
for tck in tickets:
Expand Down

0 comments on commit c0449ff

Please sign in to comment.