1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-08 16:27:24 +01:00

Fixed RUF039 (unraw-re-pattern)

This commit is contained in:
Teal Dulcet
2025-01-08 05:12:17 -08:00
parent d27797b44b
commit 58b9a59114
5 changed files with 8 additions and 8 deletions

View File

@@ -408,7 +408,7 @@ class BashScript(Grammar):
string = re.sub(".* #NODOC\n", "", string)
string = re.sub("\n\s*if .*then.*|\n\s*fi|\n\s*else|\n\s*elif .*", "", string)
string = quasitokenize(string)
string = re.sub("hide_output ", "", string)
string = re.sub(r"hide_output ", "", string)
parser = BashScript.parser()
result = parser.parse_string(string)