mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-01-24 12:47:05 +00:00
Fixed syntax in readable_bash.py.
This commit is contained in:
parent
e6c354c312
commit
4f2d69d932
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user