Update Label.py

This commit is contained in:
AKFish
2013-08-21 16:21:22 +08:00
parent 7d40b9eae8
commit 175488270a
3 changed files with 3 additions and 6 deletions
+2 -2
View File
@@ -599,7 +599,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
None,
post_parameters
)
return github.Label.Label(self._requester, data, completed=True)
return github.Label.Label(self._requester, headers, data, completed=True)
def create_milestone(self, title, state=github.GithubObject.NotSet, description=github.GithubObject.NotSet, due_on=github.GithubObject.NotSet):
"""
@@ -1266,7 +1266,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
None,
None
)
return github.Label.Label(self._requester, data, completed=True)
return github.Label.Label(self._requester, headers, data, completed=True)
def get_labels(self):
"""