We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa91f0f commit 00187c0Copy full SHA for 00187c0
tools/maintenance.py
@@ -157,10 +157,13 @@ def main():
157
if args.stats_report:
158
# If all test results are zero, all tests have passed
159
patch.patch(args.instructions, results_dict, args.link)
160
- if all(results_dict.get(k) for k in results_dict):
161
- # Errors exist
162
- logging.info("Tests failed in test suite")
163
- sys.exit(1)
+ if results_dict is not None:
+ if all(results_dict.get(k) for k in results_dict):
+ # Errors exist
+ logging.info("Tests failed in test suite")
164
+ sys.exit(1)
165
+ else:
166
+ pass
167
elif args.spelling:
168
logging.info(f"Checking spelling of {args.spelling}")
169
output = parse.spelling(args.spelling)
0 commit comments