Skip to content

Commit

Permalink
don't strip prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed Aug 5, 2022
1 parent 012cbbc commit 298ede1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def __init__(self, group):

self.semconv_id = self.id
self.note = group.get("note", "").strip()
self.prefix = group.get("prefix", "").strip()
if group.get("prefix", "") is not None:
self.prefix = group.get("prefix", "").strip()
stability = group.get("stability")
deprecated = group.get("deprecated")
position_data = group.lc.data
Expand Down

0 comments on commit 298ede1

Please sign in to comment.