#NEWLINE# @ staticmethod #NEWLINE# def apply_fingerprint( path , fingerprint ) : #NEWLINE# #INDENT# ( base , ext ) = os . path . splitext ( path ) #NEWLINE# if base . endswith ( '.min' ) : #NEWLINE# #INDENT# base = base [ : ( - 4 ) ] #NEWLINE# return '{}-{}.min{}' . format ( base , fingerprint , ext ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return '{}-{}{}' . format ( base , fingerprint , ext )