##// END OF EJS Templates
Backport PR #6117: Remove / from route of TreeRedirectHandler....
Backport PR #6117: Remove / from route of TreeRedirectHandler. When base_url is set, navigating to http://{url}/{base_url} returns 404 This is due to the TreeRedirectHandler only picking up http://{url}/{base_url}/ and the TrailingSlashHandler being set to {base_url}/.*/. This change will cause http://{url}/{base_url} to correctly redirect to http://{url}/{base_url}/tree, as expected. ...

File last commit:

r13347:54891794
r17364:0d882932
Show More
tokenize2.py
9 lines | 160 B | text/x-python | PythonLexer
"""Load our patched versions of tokenize.
"""
import sys
if sys.version_info[0] >= 3:
from ._tokenize_py3 import *
else:
from ._tokenize_py2 import *