tools/json_schema_compiler/preview.py
def _GetRequestPath(self, parsed_url, strip_nav=False):
    """Get the relative path from the current directory to the requested file.
    """
    path = parsed_url.path
    if strip_nav:
      path = parsed_url.path.replace('/nav', '')
    return os.path.normpath(os.curdir + path)
Get the relative path from the current directory to the requested file.
    
Get the relative path from the current directory to the requested file.
Get the relative path from the current directory to the requested file .
def _GetRequestPath(self, parsed_url, strip_nav=False):
    path = parsed_url.path
    if strip_nav:
      path = parsed_url.path.replace('/nav', '')
    return os.path.normpath(os.curdir + path)
def _GetRequestPath ( self , parsed_url , strip_nav = False ) : path = parsed_url . path if strip_nav : path = parsed_url . path . replace ( '/nav' , '' ) return os . path . normpath ( os . curdir + path )
Get the relative path from the current directory to the requested file.
Get the relative path from the current directory to the requested file .
"""Get the relative path from the current directory to the requested file.
    """
self
parsed_url
strip_nav