From 67c7c81162c1114093d4588668d5ba4cf83cf902 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Tue, 26 Feb 2013 10:33:51 -0600 Subject: [PATCH] Small PEP-8 compliance fix. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This commit sponsored by Mats Sjöberg. Thanks! --- mediagoblin/decorators.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mediagoblin/decorators.py b/mediagoblin/decorators.py index 42406b7d..85883c1a 100644 --- a/mediagoblin/decorators.py +++ b/mediagoblin/decorators.py @@ -126,9 +126,9 @@ def get_user_media_entry(controller): raise NotFound() media = MediaEntry.query.filter_by( - slug = request.matchdict['media'], - state = u'processed', - uploader = user.id).first() + slug=request.matchdict['media'], + state=u'processed', + uploader=user.id).first() if not media: # no media via slug? Grab it via object id -- 2.25.1