Fixed F811 (redefined-while-unused): Redefinition of unused `sys` from line 10
This commit is contained in:
parent
7f456d8e8b
commit
6a47133e3f
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue