#NEWLINE# def _citations_for_user( self ) : #NEWLINE# #INDENT# 'Get all the citations from the user ' #NEWLINE# citations = [ ] #NEWLINE# more = True #NEWLINE# offset = 0 #NEWLINE# while ( page and ( len ( citations ) <= MAX_CITATION_LOAD ) ) : #NEWLINE# #INDENT# page = self . client . items ( content = 'csljson' , limit = 100 , start = offset ) #NEWLINE# citations = ( citations + page ) #NEWLINE# if ( ( len ( page ) == 0 ) or ( len ( page ) < 100 ) ) : #NEWLINE# #INDENT# more = False #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# offset = ( offset + len ( page ) ) #NEWLINE# #UNINDENT# #UNINDENT# return citations