Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-logging
/
9493355f74406016019593d8dd97765be07b4448
/
.
/
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"
)