#NEWLINE# def _parse_keyvalue_args( name ) : #NEWLINE# #INDENT# m = re . match ( '(\\w+)://(.*)' , name ) #NEWLINE# if ( m is not None ) : #NEWLINE# #INDENT# ( name , args ) = m . group ( 1 , 2 ) #NEWLINE# opts = dict ( util . parse_qsl ( m ) ) #NEWLINE# return URL ( name , * opts ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None