Merge pull request #62308 from Calinou/makerst-fix-error-print

This commit is contained in:
Rémi Verschelde
2022-06-22 16:58:54 +02:00
committed by GitHub
+3 -3
View File
@@ -913,9 +913,9 @@ def format_codeblock(code_type, post_text, indent_level, state): # types: str,
if to_skip > indent_level:
print_error(
"{}.xml: Four spaces should be used for indentation within ["
+ code_type
+ "].".format(state.current_class),
"{}.xml: Four spaces should be used for indentation within [{}].".format(
state.current_class, code_type
),
state,
)