summaryrefslogtreecommitdiff
path: root/sphinx/websupport/storage/sqlalchemy_db.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2015-03-08 17:04:59 +0100
committerGeorg Brandl <georg@python.org>2015-03-08 17:04:59 +0100
commit3047a23a6613d74705b6373b03e8f78b82e3c1ce (patch)
treed4ab8b84dd0afb7cbf76fc749272a841d7f94544 /sphinx/websupport/storage/sqlalchemy_db.py
parentb5c2279e05b3f18b660b29c8bd0989fbb8a1582a (diff)
downloadsphinx-git-3047a23a6613d74705b6373b03e8f78b82e3c1ce.tar.gz
websupport: pep8 fixes
Diffstat (limited to 'sphinx/websupport/storage/sqlalchemy_db.py')
-rw-r--r--sphinx/websupport/storage/sqlalchemy_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/websupport/storage/sqlalchemy_db.py b/sphinx/websupport/storage/sqlalchemy_db.py
index 84cdaefcf..5603c3f27 100644
--- a/sphinx/websupport/storage/sqlalchemy_db.py
+++ b/sphinx/websupport/storage/sqlalchemy_db.py
@@ -13,7 +13,7 @@
from datetime import datetime
from sqlalchemy import Column, Integer, Text, String, Boolean, \
- ForeignKey, DateTime
+ ForeignKey, DateTime
from sqlalchemy.orm import relation, sessionmaker, aliased
from sqlalchemy.ext.declarative import declarative_base
@@ -160,7 +160,7 @@ class Comment(Base):
filter(Comment.id == parent_id).one().path
session.close()
self.node_id = parent_path.split('.')[0]
- self.path = '%s.%s' % (parent_path, self.id)
+ self.path = '%s.%s' % (parent_path, self.id)
def serializable(self, vote=0):
"""Creates a serializable representation of the comment. This is