mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-09 21:51:41 +08:00
Exclude pylint check since we intercept kwargs
This commit is contained in:
parent
c9f4d54a79
commit
c13ade20f7
1 changed files with 5 additions and 0 deletions
|
|
@ -1488,6 +1488,11 @@ class NPBackupRunner:
|
|||
raise PermissionError
|
||||
elif randint(1, 100) <= post_backup_housekeeping_percent_chance:
|
||||
self.write_logs("Running housekeeping after backup", level="info")
|
||||
# Housekeeping after backup needs to run without threads
|
||||
# We need to keep the queues open since we need to report back to GUI
|
||||
# Also, we need to disable concurrency check since we already did
|
||||
# for backup, and concurrency check would fail for unlock, forget and prune
|
||||
# pylint: disable=E1123 (unexpected-keyword-arg)
|
||||
housekeeping_result = self.housekeeping(
|
||||
__no_threads=True,
|
||||
__close_queues=True,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue