summaryrefslogtreecommitdiffstats
path: root/rtemsqual/items.py
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-07-06 12:43:04 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-07-07 07:37:48 +0200
commite254c5e64845bedd2d0d7ce7235ed4e224dfc6fe (patch)
treefefb3d53dbd7efe0a066a2a55ba91fd57dbe8cd5 /rtemsqual/items.py
parentspec: Fix /if/acfg/max-processors minimum (diff)
downloadrtems-central-e254c5e64845bedd2d0d7ce7235ed4e224dfc6fe.tar.bz2
items: Fix ItemGetValueContext.type_path_key
Diffstat (limited to 'rtemsqual/items.py')
-rw-r--r--rtemsqual/items.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemsqual/items.py b/rtemsqual/items.py
index a8574b81..c10f1c56 100644
--- a/rtemsqual/items.py
+++ b/rtemsqual/items.py
@@ -45,7 +45,7 @@ class ItemGetValueContext(NamedTuple):
@property
def type_path_key(self) -> str:
""" Returns the item type followed the path to the key. """
- return f"{self.item.type}:{self.path}{self.key}"
+ return f"{self.item.type}:{os.path.join(self.path, self.key)}"
ItemMap = Dict[str, "Item"]