summaryrefslogtreecommitdiff
path: root/sphinx/websupport/storage/sqlalchemystorage.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/websupport/storage/sqlalchemystorage.py')
-rw-r--r--sphinx/websupport/storage/sqlalchemystorage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/websupport/storage/sqlalchemystorage.py b/sphinx/websupport/storage/sqlalchemystorage.py
index 02fa33b50..2e182311e 100644
--- a/sphinx/websupport/storage/sqlalchemystorage.py
+++ b/sphinx/websupport/storage/sqlalchemystorage.py
@@ -31,7 +31,7 @@ class SQLAlchemyStorage(StorageBackend):
node = Node(document, line, source, treeloc)
self.build_session.add(node)
self.build_session.flush()
- return node.id
+ return node
def post_build(self):
self.build_session.commit()