From 4f2d69d932969fce50f0854dbc5f73684d191f35 Mon Sep 17 00:00:00 2001 From: Teal Dulcet Date: Sat, 27 Jan 2024 08:32:32 -0800 Subject: [PATCH] Fixed syntax in readable_bash.py. --- tools/readable_bash.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/readable_bash.py b/tools/readable_bash.py index 66f6196c..eb439397 100644 --- a/tools/readable_bash.py +++ b/tools/readable_bash.py @@ -125,13 +125,13 @@ def generate_documentation(): parser = Source.parser() with open("setup/start.sh", "r") as start_file: - for line in start_file: - try: - fn = parser.parse_string(line).filename() - except: - continue - if fn in ("setup/start.sh", "setup/preflight.sh", "setup/questions.sh", "setup/firstuser.sh", "setup/management.sh"): - continue + for line in start_file: + try: + fn = parser.parse_string(line).filename() + except: + continue + if fn in ("setup/start.sh", "setup/preflight.sh", "setup/questions.sh", "setup/firstuser.sh", "setup/management.sh"): + continue import sys print(fn, file=sys.stderr)