mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-26 02:57:04 +00:00
normalize some whitespace
This commit is contained in:
parent
245864caac
commit
c0f4618bef
@ -57,8 +57,8 @@ def migration_4(env):
|
|||||||
shell("check_call", ["sqlite3", db, "ALTER TABLE users ADD privileges TEXT NOT NULL DEFAULT ''"])
|
shell("check_call", ["sqlite3", db, "ALTER TABLE users ADD privileges TEXT NOT NULL DEFAULT ''"])
|
||||||
|
|
||||||
def migration_5(env):
|
def migration_5(env):
|
||||||
# The secret key for encrypting backups was world readable. Fix here.
|
# The secret key for encrypting backups was world readable. Fix here.
|
||||||
os.chmod(os.path.join(env["STORAGE_ROOT"], 'backup/secret_key.txt'), 0o600)
|
os.chmod(os.path.join(env["STORAGE_ROOT"], 'backup/secret_key.txt'), 0o600)
|
||||||
|
|
||||||
def get_current_migration():
|
def get_current_migration():
|
||||||
ver = 0
|
ver = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user