Small PEP-8 compliance fix.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 26 Feb 2013 16:33:51 +0000 (10:33 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 26 Feb 2013 16:33:51 +0000 (10:33 -0600)
This commit sponsored by Mats Sjöberg.  Thanks!

mediagoblin/decorators.py

index 42406b7dc4475a5d30d543d5d9154b5dee5c4b3c..85883c1a6d3dcc4515d9880930c21e265606a927 100644 (file)
@@ -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