summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-17 14:30:05 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-17 14:30:05 +0000
commit716deb59504b578c9c842ce0b76cd955dcc92b4d (patch)
treed439f6aa5cd113b976ecdc548f69e31e53ac825d
parent54a0e51ca1940d1a3afd77920264e72ec5882d4a (diff)
downloadmorph-cache-server-sam/reproducible-builds.tar.gz
Add missing import (oops)sam/reproducible-builds
-rw-r--r--morphcacheserver/api_2_0.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/morphcacheserver/api_2_0.py b/morphcacheserver/api_2_0.py
index 94e9341..4e94a94 100644
--- a/morphcacheserver/api_2_0.py
+++ b/morphcacheserver/api_2_0.py
@@ -13,9 +13,6 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
-from bottle import Bottle, request, response
-
-
'''The 2.0/ set of HTTP methods.
This is still in development and you can pretty much do what you want with it
@@ -26,6 +23,11 @@ doing ongoing measurement.
'''
+from bottle import Bottle, request, response
+
+import urllib
+
+
def unescape_parameter(param):
return urllib.unquote(param)