Skip to content

Commit 4b9bcb0

Browse files
Merge pull request #166 from Mark-Simulacrum/avoid-attr-error
Avoid attribute error, always push state to failures
2 parents f346233 + 9c652cb commit 4b9bcb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homu/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def rollup(user_gh, state, repo_label, repo_cfg, repo):
315315

316316
for state in rollup_states:
317317
if base_ref != state.base_ref:
318-
failures.append(state.num)
318+
failures.append(state)
319319
continue
320320

321321
state.body = suppress_pings(state.body or "")

0 commit comments

Comments
 (0)