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

run python unbuffered so output always appears in the correct order even when running shell scripts

This commit is contained in:
downtownallday 2024-09-07 15:28:26 -04:00
parent 0e6935c977
commit 97080b1c2a

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/python3 -u
# -*- indent-tabs-mode: t; tab-width: 8; python-indent-offset: 8; -*-
#####
##### This file is part of Mail-in-a-Box-LDAP which is released under the
@ -471,7 +471,7 @@ def run_miabldap_migrations():
migration_id = 0
else:
print()
print("%s file doesn't exists. Skipping migration..." % (migration_id_file,))
print("%s file doesn't exist. Skipping migration..." % (migration_id_file,))
return
ourver = int(migration_id)