#NEWLINE# def adjust_uri( self , uri , filename ) : #NEWLINE# #INDENT# scheme = urlparse ( filename ) . scheme #NEWLINE# if ( scheme in ( 'salt' , 'file' ) ) : #NEWLINE# #INDENT# return uri #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if scheme : #NEWLINE# #INDENT# raise ValueError ( 'Unsupported URL scheme({0}) in {1}' . format ( scheme , uri ) ) #NEWLINE# #UNINDENT# #UNINDENT# return self . lookup . adjust_uri ( uri , filename )