Convert legacy objects to v3 ones

Still needed:
- test completion of objects returned by legacy API
- implement legacy pagination
This commit is contained in:
Vincent Jacques
2012-06-29 07:44:10 +02:00
parent ed31abe6de
commit 37c06ea4fc
4 changed files with 52 additions and 5 deletions
+3 -1
View File
@@ -46,6 +46,7 @@ import GitTag
import Download
import Permissions
import Event
import Legacy
class Repository( GithubObject.GithubObject ):
@property
@@ -1011,7 +1012,8 @@ class Repository( GithubObject.GithubObject ):
None,
None
)
return PaginatedList.PaginatedList(
return Legacy.PaginatedList(
Legacy.convertIssue,
Issue.Issue,
self._requester,
headers,