Skip to content

Commit

Permalink
Include a message indicating how many pull requests were found.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Coddington committed Aug 22, 2014
1 parent 12e3734 commit 1373df6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bugwarrior/services/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ def issues(self):
# let's strip those out of the "issues" list so that we don't have
# unnecessary duplicates.
request_urls = [r[1]['html_url'] for r in requests]

issues = [i for i in issues if not i[1]['html_url'] in request_urls]
log.name(self.target).debug(" Added {0} pull requests", len(requests))

for tag, issue in issues:
extra = {
Expand Down

0 comments on commit 1373df6

Please sign in to comment.