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 56f4d54 commit 5230a9cCopy full SHA for 5230a9c
src/pyinfra/operations/files.py
@@ -1266,7 +1266,7 @@ def template(
1266
template_lines = f.readlines()
1267
1268
template_lines = [line.strip() for line in template_lines]
1269
- relevant_lines = template_lines[max(line_number - 2, 0): line_number + 1]
+ relevant_lines = template_lines[max(line_number - 2, 0) : line_number + 1]
1270
1271
raise OperationError(
1272
"Error in template: {0} (L{1}): {2}\n...\n{3}\n...".format(
0 commit comments