backups: remove unused variables
This commit is contained in:
parent
7e507cba6a
commit
b52d1a4379
@ -420,7 +420,6 @@ def backup_do(base_backup_dir, files_to_backup, passphrase,
|
|||||||
progress = blocks_backedup * 11 / total_backup_sz
|
progress = blocks_backedup * 11 / total_backup_sz
|
||||||
progress_callback(progress)
|
progress_callback(progress)
|
||||||
|
|
||||||
feedback_file = tempfile.NamedTemporaryFile()
|
|
||||||
backup_tmpdir = tempfile.mkdtemp(prefix="/var/tmp/backup_")
|
backup_tmpdir = tempfile.mkdtemp(prefix="/var/tmp/backup_")
|
||||||
|
|
||||||
# Tar with tapelength does not deals well with stdout (close stdout between
|
# Tar with tapelength does not deals well with stdout (close stdout between
|
||||||
@ -1166,7 +1165,6 @@ def backup_restore_header(source, passphrase,
|
|||||||
|
|
||||||
vmproc = None
|
vmproc = None
|
||||||
|
|
||||||
feedback_file = tempfile.NamedTemporaryFile()
|
|
||||||
restore_tmpdir = tempfile.mkdtemp(prefix="/var/tmp/restore_")
|
restore_tmpdir = tempfile.mkdtemp(prefix="/var/tmp/restore_")
|
||||||
|
|
||||||
if format_version == None:
|
if format_version == None:
|
||||||
|
Loading…
Reference in New Issue
Block a user