#NEWLINE# def handle_path( self , path_tokens ) : #NEWLINE# #INDENT# version = self . _version ( path_tokens [ 0 ] ) #NEWLINE# if ( len ( path_tokens ) == 1 ) : #NEWLINE# #INDENT# path = VERSION #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# path = '/' . join ( path_tokens [ 1 : ] ) #NEWLINE# #UNINDENT# path_handler = path . path_handlers [ path ] #NEWLINE# if ( path_handler is None ) : #NEWLINE# #INDENT# raise KeyError ( path ) #NEWLINE# #UNINDENT# return path_handler ( version , path )