pridkett/gitminer — Issue #7: v3 api creates a dummy PullRequest for all issues, even if already present
Author: pridkett
Created: 2012-02-05 05:52:00+00:00
State: open

By default the v3 api creates a PullRequest for each object that looks like:

{pullrequest_id=pridkett/gitminer:0, additions=0, sys_created_at=2012-02-05T05:48:44+0000, number=0, commits=0, type=PULLREQUEST, comments=0, deletions=0}

In reality, if there is no pull request, this should not be set. We can avoid this by checking to see if the id is 0 and ignoring it.