1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-22 07:17:05 +00:00

Fixed F811 (redefined-while-unused): Redefinition of unused sys from line 10

This commit is contained in:
Teal Dulcet 2023-12-23 05:24:59 -08:00 committed by Joshua Tauberer
parent 7f456d8e8b
commit 6a47133e3f

View File

@ -617,7 +617,6 @@ def write_backup_config(env, newconfig):
f.write(rtyaml.dump(newconfig))
if __name__ == "__main__":
import sys
if sys.argv[-1] == "--verify":
# Run duplicity's verification command to check a) the backup files
# are readable, and b) report if they are up to date.