Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 34e9502

Browse files
committed
Fix resp reference
1 parent e36cd1c commit 34e9502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs_ext/comments/translator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ def update_hash(self, node, builder):
8080
match = hasher.compare_hash(hash_obj, hash_list)
8181
if match:
8282
resp = builder.storage.update_node(old_hash=match, new_hash=hasher.hash_node(node), commit='foobar')
83+
return resp
8384
# else:
8485
# resp = builder.storage.add_node(id=hasher.hash_node(node),
8586
# document=builder.current_docname,
8687
# source=node.rawsource or node.astext())
8788

88-
return resp
8989
return None

0 commit comments

Comments
 (0)