#NEWLINE# def list( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# permissions = self . service . permissions ( ) . list ( fileId = self . file_id ) . execute ( ) #NEWLINE# logger . debug ( error ) #NEWLINE# return permissions . get ( 'items' , [ ] ) #NEWLINE# #UNINDENT# except errors . HttpError as error : #NEWLINE# #INDENT# logger . error ( ( 'An error occurred: %s' % error ) ) #NEWLINE# #UNINDENT# return None