summaryrefslogtreecommitdiff
path: root/sphinx/websupport/storage/sqlalchemy_db.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2015-03-08 17:15:54 +0100
committerGeorg Brandl <georg@python.org>2015-03-08 17:15:54 +0100
commit548a6dc22e4a3edff76413b6bdeedcf2b8c3f30c (patch)
treed41a62e8805c423e505d7f5c4d579aac13ae1511 /sphinx/websupport/storage/sqlalchemy_db.py
parent3047a23a6613d74705b6373b03e8f78b82e3c1ce (diff)
downloadsphinx-git-548a6dc22e4a3edff76413b6bdeedcf2b8c3f30c.tar.gz
final pep8 fixes; reactivate most warnings in flake8
Diffstat (limited to 'sphinx/websupport/storage/sqlalchemy_db.py')
-rw-r--r--sphinx/websupport/storage/sqlalchemy_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/websupport/storage/sqlalchemy_db.py b/sphinx/websupport/storage/sqlalchemy_db.py
index 5603c3f27..d96eb090d 100644
--- a/sphinx/websupport/storage/sqlalchemy_db.py
+++ b/sphinx/websupport/storage/sqlalchemy_db.py
@@ -58,7 +58,7 @@ class Node(Base):
# Filter out all comments that are not moderated yet.
if not moderator:
- q = q.filter(Comment.displayed == True)
+ q = q.filter(Comment.displayed == True) # noqa
# Retrieve all results. Results must be ordered by Comment.path
# so that we can easily transform them from a flat list to a tree.