aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2012-11-16 11:36:04 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2012-12-21 08:12:25 +0100
commit726896b62a87a88594cf3863f4bbfcaf84b2abb3 (patch)
tree5e6b4ca5ab748ccc0f59bb4edb775f0c188c7705
parentcc195d5b821319732038fbd5d13bcc8b5a951ffc (diff)
downloadmediagoblin-726896b62a87a88594cf3863f4bbfcaf84b2abb3.tar.lz
mediagoblin-726896b62a87a88594cf3863f4bbfcaf84b2abb3.tar.xz
mediagoblin-726896b62a87a88594cf3863f4bbfcaf84b2abb3.zip
Remove webob compatability
Remove the aliases we provided for webob compatability as webob is now gone. Grepped the code base to check for occurences of the old parameters to be safe. Keep request.GET attribute as alias for request.args as it is often used and django is also using that attribute. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
-rw-r--r--mediagoblin/app.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mediagoblin/app.py b/mediagoblin/app.py
index 8bd2496f..9e06e52d 100644
--- a/mediagoblin/app.py
+++ b/mediagoblin/app.py
@@ -135,9 +135,8 @@ class MediaGoblinApp(object):
def call_backend(self, environ, start_response):
request = Request(environ)
- ## Compatibility webob -> werkzeug
+ # Compatibility with django, use request.args preferrably
request.GET = request.args
- request.accept = request.accept_mimetypes
## Routing / controller loading stuff
map_adapter = self.url_map.bind_to_environ(request.environ)