Skip to content

Commit

Permalink
build: add RefType (type) to new alias prompt
Browse files Browse the repository at this point in the history
This is important for identifying the target type of a RefType when there are
those with a duplicate name.
  • Loading branch information
cblanken committed Dec 17, 2024
1 parent a6f0689 commit 9cc4015
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stats/management/commands/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,10 @@ def get_or_create_reftype(
)
return alias.ref_type
except Alias.DoesNotExist:
self.log(f'RefType: "{rt_name}" doesn\'t exist. Create?', LogCat.NEW)
self.log(
f'RefType: "{rt_name} ({rt_type})" doesn\'t exist. Create?',
LogCat.NEW,
)
edited_name = self.edit_field(rt_name, "RefType name")
if edited_name is None:
return
Expand Down

0 comments on commit 9cc4015

Please sign in to comment.