Skip to content
Snippets Groups Projects
Commit af0ba75b authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-152: simplified logging

parent 20449568
No related branches found
No related tags found
1 merge request!180Resolve TMSS-152
...@@ -16,7 +16,7 @@ def create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_ ...@@ -16,7 +16,7 @@ def create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_
Create a SchedulingUnitBlueprint from the SchedulingUnitDraft Create a SchedulingUnitBlueprint from the SchedulingUnitDraft
:raises Exception if instantiate fails. :raises Exception if instantiate fails.
""" """
logger.debug("create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_draft.id=%s name=%s)", scheduling_unit_draft.pk, scheduling_unit_draft.name) logger.debug("create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_draft.id=%s name='%s')", scheduling_unit_draft.pk, scheduling_unit_draft.name)
# TODO: copy/fill-in the properties from the draft to the blueprint # TODO: copy/fill-in the properties from the draft to the blueprint
scheduling_unit_blueprint = SchedulingUnitBlueprint.objects.create( scheduling_unit_blueprint = SchedulingUnitBlueprint.objects.create(
...@@ -27,7 +27,7 @@ def create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_ ...@@ -27,7 +27,7 @@ def create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_
draft=scheduling_unit_draft, draft=scheduling_unit_draft,
requirements_template=scheduling_unit_draft.requirements_template) requirements_template=scheduling_unit_draft.requirements_template)
logger.info("create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_draft.id=%s name=%s) created scheduling_unit_blueprint id=%s name=%s", logger.info("create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_draft.id=%s name='%s') created scheduling_unit_blueprint id=%s name='%s'",
scheduling_unit_draft.pk, scheduling_unit_draft.name, scheduling_unit_blueprint.pk, scheduling_unit_blueprint.name) scheduling_unit_draft.pk, scheduling_unit_draft.name, scheduling_unit_blueprint.pk, scheduling_unit_blueprint.name)
return scheduling_unit_blueprint return scheduling_unit_blueprint
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment