From dbe65d0cd53cb66f0235bedca21f6f6f50155f8d Mon Sep 17 00:00:00 2001 From: MinRK Date: Thu, 4 Sep 2014 17:32:27 -0700 Subject: [PATCH] remove unused TreeRedirectHandler --- IPython/html/tree/handlers.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/IPython/html/tree/handlers.py b/IPython/html/tree/handlers.py index 435d90fe9..4c1fdf9a9 100644 --- a/IPython/html/tree/handlers.py +++ b/IPython/html/tree/handlers.py @@ -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 #-----------------------------------------------------------------------------