Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-logging
/
77930f20466965b9521079b9b6c4998e8aea8b7c
/
.
/
extensions
/
openpower-pels
/
pel_registry
/
__init__.py
blob: 21f916bbdbef1fe0edbb7d05b78c491c5832018c [
file
] [
log
] [
blame
]
import
os
def
get_registry_path
()
->
str
:
return
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"message_registry.json"
)
def
get_comp_id_file_path
(
creatorID
:
str
)
->
str
:
return
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
creatorID
+
"_component_ids.json"
)