From 09d1feab80f84f17da8470648ffd5cfc9b12a496 Mon Sep 17 00:00:00 2001 From: viogq <55494528+viogq@users.noreply.github.com> Date: Wed, 18 Sep 2019 13:00:29 +0000 Subject: [PATCH] error unless TRY used --- tools/readable_bash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/readable_bash.py b/tools/readable_bash.py index 5207a78a..6c8a7647 100644 --- a/tools/readable_bash.py +++ b/tools/readable_bash.py @@ -225,7 +225,7 @@ class EditConf(Grammar): conffile = self[1] options = [] eq = "=" - if self[3] and "-s" in self[3].string: eq = " " + if self[3] and "-s" in self[3].string: eq = " " ## try except # else err for opt in re.split("\s+", self[4].string): k, v = opt.split("=", 1) v = re.sub(r"\n+", "", fixup_tokens(v)) # not sure why newlines are getting doubled