From: Sebastian Spaeth Date: Fri, 16 Nov 2012 10:36:04 +0000 (+0100) Subject: Remove webob compatability X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=726896b62a87a88594cf3863f4bbfcaf84b2abb3;p=mediagoblin.git 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 --- 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)