#NEWLINE# def asset( self , filename ) : #NEWLINE# #INDENT# if self . html_url : #NEWLINE# #INDENT# path = ( '%s/%s' % ( self . html_url , filename ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# path = filename #NEWLINE# #UNINDENT# src = os . path . join ( filename . directory , filename ) #NEWLINE# return dict ( src = src , path = path )