From: Andrew Browning Date: Tue, 1 Mar 2016 05:27:50 +0000 (-0500) Subject: Fix #5431 - Typo in models X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d5084359852eb0c7d2a714103e26debe2a43bf61;p=mediagoblin.git Fix #5431 - Typo in models Fix a typo in models.py. --- diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py index 97dc91dc..3f36f227 100644 --- a/mediagoblin/db/models.py +++ b/mediagoblin/db/models.py @@ -607,7 +607,7 @@ class MediaEntry(Base, MediaEntryMixin, CommentingMixin): if ascending: query = query.order_by(Comment.added.asc()) else: - qury = query.order_by(Comment.added.desc()) + query = query.order_by(Comment.added.desc()) return FakeCursor(query, lambda c:c.comment())