remove unused TreeRedirectHandler

This commit is contained in:
MinRK 2014-09-04 17:32:27 -07:00
parent 379374b5d9
commit dbe65d0cd5

View File

@ -59,18 +59,6 @@ class TreeHandler(IPythonHandler):
))
class TreeRedirectHandler(IPythonHandler):
"""Redirect a request to the corresponding tree URL"""
@web.authenticated
def get(self, path=''):
url = url_escape(url_path_join(
self.base_url, 'tree', path.strip('/')
))
self.log.debug("Redirecting %s to %s", self.request.path, url)
self.redirect(url)
#-----------------------------------------------------------------------------
# URL to handler mappings
#-----------------------------------------------------------------------------