Update public source
This commit is contained in:
@@ -956,6 +956,14 @@ class JobPackageService:
|
|||||||
package.hash_content
|
package.hash_content
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(
|
||||||
|
temporary_path
|
||||||
|
/ "package_filename.txt"
|
||||||
|
).write_text(
|
||||||
|
package.package_filename,
|
||||||
|
encoding="utf-8",
|
||||||
|
)
|
||||||
|
|
||||||
initialize_state(
|
initialize_state(
|
||||||
temporary_path,
|
temporary_path,
|
||||||
package.job,
|
package.job,
|
||||||
@@ -997,14 +1005,6 @@ class JobPackageService:
|
|||||||
f"{pending_path}"
|
f"{pending_path}"
|
||||||
)
|
)
|
||||||
|
|
||||||
(
|
|
||||||
temporary_path
|
|
||||||
/ "package_filename.txt"
|
|
||||||
).write_text(
|
|
||||||
package.package_filename,
|
|
||||||
encoding="utf-8",
|
|
||||||
)
|
|
||||||
|
|
||||||
if not pending_path.is_file():
|
if not pending_path.is_file():
|
||||||
raise JobPackageError(
|
raise JobPackageError(
|
||||||
f"Pending Job package is not a file: "
|
f"Pending Job package is not a file: "
|
||||||
|
|||||||
Reference in New Issue
Block a user