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
1 changed files with 0 additions and 1 deletions

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.