From 6a47133e3fe5616e83a65ac87006d35d54e0cf70 Mon Sep 17 00:00:00 2001 From: Teal Dulcet Date: Sat, 23 Dec 2023 05:24:59 -0800 Subject: [PATCH] Fixed F811 (redefined-while-unused): Redefinition of unused `sys` from line 10 --- management/backup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/management/backup.py b/management/backup.py index 3031662b..f352fb41 100755 --- a/management/backup.py +++ b/management/backup.py @@ -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.