Skip to content

Commit cfc0e46

Browse files
committed
Refer to the right thing
1 parent dd30e92 commit cfc0e46

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

github3/search/issue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ def __init__(self, data, session=None):
1010
self.score = result.pop('score')
1111
#: Text matches
1212
self.text_matches = result.pop('text_matches', [])
13-
#: Repository object
14-
self.repository = Issue(result, self)
13+
#: Issue object
14+
self.issue = Issue(result, self)
1515

1616
def __repr__(self):
1717
return '<IssueSearchResult [{0}]>'.format(self.repository)

0 commit comments

Comments
 (0)