Skip to content

Commit 0d450e5

Browse files
pre-commit-ci[bot]davidt
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e00bbcd commit 0d450e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pipeline/templatetags/pipeline.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ def render_error(self, package_type, package_name, e):
114114
error_output = re.sub(
115115
re.compile(r"(?:\x1B[@-_]|[\x80-\x9F])[0-?]*[ -/]*[@-~]"),
116116
"",
117-
e.error_output)
117+
e.error_output,
118+
)
118119

119120
return render_to_string(
120121
"pipeline/compile_error.html",

0 commit comments

Comments
 (0)