mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-14 15:38:00 +08:00
Make sure we init housekeeping variables
This commit is contained in:
parent
83af4ee2d5
commit
313fcb51f2
1 changed files with 4 additions and 1 deletions
|
@ -1495,8 +1495,11 @@ class NPBackupRunner:
|
||||||
"args": None,
|
"args": None,
|
||||||
}
|
}
|
||||||
|
|
||||||
unlock_result = self.unlock(**kwargs)
|
check_result = None
|
||||||
|
forget_result = None
|
||||||
|
prune_result = None
|
||||||
|
|
||||||
|
unlock_result = self.unlock(**kwargs)
|
||||||
if (isinstance(unlock_result, bool) and unlock_result) or (
|
if (isinstance(unlock_result, bool) and unlock_result) or (
|
||||||
isinstance(unlock_result, dict) and unlock_result["result"]
|
isinstance(unlock_result, dict) and unlock_result["result"]
|
||||||
):
|
):
|
||||||
|
|
Loading…
Add table
Reference in a new issue