mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-25 04:46:58 +08:00
Reformat file with black
This commit is contained in:
parent
2d8c23d9e1
commit
3d1e3a8d77
1 changed files with 9 additions and 9 deletions
|
|
@ -147,15 +147,15 @@ def get_file(
|
||||||
_, archive_path, script_path = _get_path_from_target_id(file)
|
_, archive_path, script_path = _get_path_from_target_id(file)
|
||||||
|
|
||||||
unknown_artefact = {
|
unknown_artefact = {
|
||||||
"artefact": file.artefact.value,
|
"artefact": file.artefact.value,
|
||||||
"arch": file.arch.value,
|
"arch": file.arch.value,
|
||||||
"platform": file.platform.value,
|
"platform": file.platform.value,
|
||||||
"build_type": file.build_type.value,
|
"build_type": file.build_type.value,
|
||||||
"audience": file.audience.value,
|
"audience": file.audience.value,
|
||||||
"sha256sum": None,
|
"sha256sum": None,
|
||||||
"filename": None,
|
"filename": None,
|
||||||
"file_length": 0,
|
"file_length": 0,
|
||||||
}
|
}
|
||||||
|
|
||||||
if file.artefact.value == "archive":
|
if file.artefact.value == "archive":
|
||||||
artefact_path = archive_path
|
artefact_path = archive_path
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue