Restore pagination

This commit is contained in:
Vincent Jacques
2012-05-05 10:00:18 +02:00
parent 1f4dbae94a
commit bddf2051b5
34 changed files with 401 additions and 213 deletions
+7 -4
View File
@@ -1,6 +1,7 @@
# WARNING: this file is generated automaticaly.
# Do not modify it manually, your work would be lost.
import PaginatedList
import NamedUser
import GitCommit
import CommitComment
@@ -86,10 +87,12 @@ class Commit( object ):
None,
None
)
return [
CommitComment.CommitComment( self.__requester, element, lazy = True )
for element in data
]
return PaginatedList.PaginatedList(
CommitComment.CommitComment,
self.__requester,
headers,
data
)
def __initAttributes( self ):
self.__author = None