diff options
| author | John Eo <joon.eo@gmail.com> | 2011-05-04 08:58:30 -0500 |
|---|---|---|
| committer | John Eo <joon.eo@gmail.com> | 2011-05-04 08:58:30 -0500 |
| commit | c9aafc60fc4491f2a06f4d45834ad7ff37de5e83 (patch) | |
| tree | a89bb21107c920810083e774d35e4123325f06fd | |
| parent | 425b08cd50d88c57f47af67c8cdf5c5d4bc7b67b (diff) | |
Removing unused function.
| -rw-r--r-- | keystone/queryext/exthandler.py | 9 |
1 files changed, 0 insertions, 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): |
