summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-07-26 18:41:13 +0100
committerDavid Robertson <davidr@element.io>2022-07-26 18:41:13 +0100
commita0387e896dbfc5da879f3bf94f84242a5b0f3de9 (patch)
tree692cec820dcc444d316b044d2b2ea0d3def9d146
parentTidy parser (diff)
downloadsynapse-a0387e896dbfc5da879f3bf94f84242a5b0f3de9.tar.xz
Fix add_edge
-rwxr-xr-xsynapse/_scripts/debug_state_res.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/_scripts/debug_state_res.py b/synapse/_scripts/debug_state_res.py
index a934ef5369..02bdfcfa63 100755
--- a/synapse/_scripts/debug_state_res.py
+++ b/synapse/_scripts/debug_state_res.py
@@ -148,7 +148,7 @@ async def dump_mainlines(
                         graph.add_node(await new_node(auth_event))
                     seen.add(auth_event.event_id)
                     todo.append(auth_event)
-                graph.add_edge(edge(event, auth_event), style=style)
+                graph.add_edge(edge(event, auth_event, style=style))
 
     graph.write_raw("mainlines.dot")
     graph.write_svg("mainlines.svg")