1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

Fixed syntax in readable_bash.py.

This commit is contained in:
Teal Dulcet 2024-01-27 08:32:32 -08:00
parent 3efd4257b5
commit c659fe14b0

View File

@ -125,13 +125,13 @@ def generate_documentation():
parser = Source.parser() parser = Source.parser()
with open("setup/start.sh", "r") as start_file: with open("setup/start.sh", "r") as start_file:
for line in start_file: for line in start_file:
try: try:
fn = parser.parse_string(line).filename() fn = parser.parse_string(line).filename()
except: except:
continue continue
if fn in ("setup/start.sh", "setup/preflight.sh", "setup/questions.sh", "setup/firstuser.sh", "setup/management.sh"): if fn in ("setup/start.sh", "setup/preflight.sh", "setup/questions.sh", "setup/firstuser.sh", "setup/management.sh"):
continue continue
import sys import sys
print(fn, file=sys.stderr) print(fn, file=sys.stderr)