added some debug statements for ci w/ burnettk
This commit is contained in:
parent
ada389b572
commit
1ce3fbe542
|
@ -300,6 +300,11 @@ def process_model_file_delete(
|
||||||
"""Process_model_file_delete."""
|
"""Process_model_file_delete."""
|
||||||
process_model_identifier = modified_process_model_identifier.replace(":", "/")
|
process_model_identifier = modified_process_model_identifier.replace(":", "/")
|
||||||
process_model = _get_process_model(process_model_identifier)
|
process_model = _get_process_model(process_model_identifier)
|
||||||
|
|
||||||
|
# DEBUG CI: TODO: DELETE
|
||||||
|
print(f"CURRENT PRIMARY FILE NAME: {process_model.primary_file_nam}")
|
||||||
|
print(f"FILE TO DELETE: {file_name}")
|
||||||
|
|
||||||
if process_model.primary_file_name == file_name:
|
if process_model.primary_file_name == file_name:
|
||||||
raise ApiError(
|
raise ApiError(
|
||||||
error_code="process_model_file_cannot_be_deleted",
|
error_code="process_model_file_cannot_be_deleted",
|
||||||
|
|
Loading…
Reference in New Issue