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

This commit is contained in:
Teal Dulcet
2024-03-10 07:56:49 -04:00
committed by Joshua Tauberer
parent 7f456d8e8b
commit 6a47133e3f
-1
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.