Skip to content

Commit

Permalink
Issue with one of the migrated files after I let it get ruffed up.
Browse files Browse the repository at this point in the history
  • Loading branch information
bminnix committed Nov 29, 2024
1 parent a9c06d9 commit 7403c2e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def _verify_software_version_migrated(apps, dlm_software_version):

# Ensure we are linked to one DLM Software only
try:
TaggedItem.objects.get(object_id=core_software_version.id, tag__name__istartswith="DLM_migration-SoftwareLCM__")
TaggedItem.objects.get(
object_id=core_software_version.id, tag__name__istartswith="DLM_migration-SoftwareLCM__"
)
except TaggedItem.MultipleObjectsReturned:
raise ValidationError(
f"DLM Migration Error: Found multiple DLM Software objects attached to Core SoftwareVersion: {core_software_version}"
Expand Down

0 comments on commit 7403c2e

Please sign in to comment.