#NEWLINE# def list( self , repo , sort = None , user = None ) : #NEWLINE# #INDENT# query = None #NEWLINE# if sort : #NEWLINE# #INDENT# query = { #NEWLINE# #INDENT# 'sort' : sort , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# return self . client . get ( ( 'repos/%s/%s/forks' % ( self . client . user ( user ) , repo ) ) , query = query , msg_type = RepoListResponse )