1
0
peilaus alkaen https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-06 16:07:22 +01: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
vanhempi 7f456d8e8b
commit 6a47133e3f

Näytä tiedosto

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