We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79528e8 commit 781c6e8Copy full SHA for 781c6e8
mod_ci/controllers.py
@@ -1585,10 +1585,10 @@ def get_info_for_pr_comment(test: Test) -> PrCommentInfo:
1585
for test in category_results['tests']:
1586
if not test['error']:
1587
category_test_pass_count += 1
1588
- if getattr(test['test'], platform_column) != last_test_master.id:
+ if last_test_master and getattr(test['test'], platform_column) != last_test_master.id:
1589
fixed_tests.append(test['test'])
1590
else:
1591
1592
common_failed_tests.append(test['test'])
1593
1594
extra_failed_tests.append(test['test'])
0 commit comments