diff options
author | Georg Brandl <georg@python.org> | 2010-11-21 20:02:23 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-11-21 20:02:23 +0100 |
commit | 9295e3ce1a70dc7d853b228ebfe46d3ea12f7f16 (patch) | |
tree | 24c1c50686c1dc28a56c57aec1937b3115c42dd4 /sphinx/websupport/storage/sqlalchemystorage.py | |
parent | fc9549767c77be08e8a2aa25389282f516fdd1c5 (diff) | |
download | sphinx-git-9295e3ce1a70dc7d853b228ebfe46d3ea12f7f16.tar.gz |
Fix deletion of comments with votes.
Diffstat (limited to 'sphinx/websupport/storage/sqlalchemystorage.py')
-rw-r--r-- | sphinx/websupport/storage/sqlalchemystorage.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/websupport/storage/sqlalchemystorage.py b/sphinx/websupport/storage/sqlalchemystorage.py index a83c7623f..78991639d 100644 --- a/sphinx/websupport/storage/sqlalchemystorage.py +++ b/sphinx/websupport/storage/sqlalchemystorage.py @@ -81,6 +81,7 @@ class SQLAlchemyStorage(StorageBackend): comment.set_path(node_id, parent_id) session.commit() d = comment.serializable() + d['document'] = comment.node.document session.close() return d |