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