mirror of
https://github.com/netinvent/npbackup.git
synced 2025-02-24 14:35:36 +08:00
Reformat file with black
This commit is contained in:
parent
1b2936c15c
commit
bbfad1e64a
1 changed files with 4 additions and 2 deletions
|
@ -810,14 +810,16 @@ class NPBackupRunner:
|
|||
"T",
|
||||
):
|
||||
self.write_logs(
|
||||
f"Bogus suffix for exclude_files_larger_than value given: {exclude_files_larger_than}", level="warning"
|
||||
f"Bogus suffix for exclude_files_larger_than value given: {exclude_files_larger_than}",
|
||||
level="warning",
|
||||
)
|
||||
exclude_files_larger_than = None
|
||||
try:
|
||||
float(exclude_files_larger_than[:-1])
|
||||
except (ValueError, TypeError):
|
||||
self.write_logs(
|
||||
f"Cannot check whether excludes_files_larger_than is a float: {exclude_files_larger_than}", level="warning"
|
||||
f"Cannot check whether excludes_files_larger_than is a float: {exclude_files_larger_than}",
|
||||
level="warning",
|
||||
)
|
||||
exclude_files_larger_than = None
|
||||
|
||||
|
|
Loading…
Reference in a new issue