From 726896b62a87a88594cf3863f4bbfcaf84b2abb3 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Fri, 16 Nov 2012 11:36:04 +0100 Subject: [PATCH] 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 --- mediagoblin/app.py | 3 +-- 1 file changed, 1 insertion(+), 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) -- 2.25.1