Skip to content

Commit

Permalink
Remove more unused bits of storage controller
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelb committed May 3, 2015
1 parent 988f06c commit 8a5f1bb
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions ckan/controllers/storage.py
Expand Up @@ -18,19 +18,6 @@
_eq_re = re.compile(r"^(.*)(=[0-9]*)$")


def fix_stupid_pylons_encoding(data):
"""
Fix an apparent encoding problem when calling request.body
TODO: Investigate whether this is fixed in later versions?
"""
if data.startswith("%") or data.startswith("+"):
data = urllib.unquote_plus(data)
m = _eq_re.match(data)
if m:
data = m.groups()[0]
return data


def create_pairtree_marker(folder):
""" Creates the pairtree marker for tests if it doesn't exist """
if not folder[:-1] == '/':
Expand Down

0 comments on commit 8a5f1bb

Please sign in to comment.