From c9aafc60fc4491f2a06f4d45834ad7ff37de5e83 Mon Sep 17 00:00:00 2001 From: John Eo Date: Wed, 4 May 2011 08:58:30 -0500 Subject: Removing unused function. --- keystone/queryext/exthandler.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/keystone/queryext/exthandler.py b/keystone/queryext/exthandler.py index 9e572d22..a041f00a 100644 --- a/keystone/queryext/exthandler.py +++ b/keystone/queryext/exthandler.py @@ -34,15 +34,6 @@ from bottle import Request DEFAULT_EXTS = {'xml': 'application/xml', 'json': 'application/json'} -def scrub(uri, ext): - urisegs = uri.split('?') - first = urisegs[0][0: -(len(ext) + 1)] - if len(urisegs) > 1: - return '?'.join((first, urisegs[1], )) - else: - return first - - class UrlExtensionFilter(object): def __init__(self, app, conf): -- cgit