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