Commit f91bce75 authored by Ladislav Lhotka's avatar Ladislav Lhotka
Browse files

Fix GitHub issue #105

parent 4d62d35a
Pipeline #83371 passed with stages
in 12 minutes and 58 seconds
......@@ -952,10 +952,13 @@ class ArrayEntry(InstanceNode):
return EntryIndex(self._key)
kdict = {}
for k in sn.keys:
if k[1] == sn.ns:
kdict[(k[0], None)] = str(self[k[0]])
else:
kdict[k] = str(self[f"{k[1]}:{k[0]}"])
try:
if k[1] == sn.ns:
kdict[(k[0], None)] = str(self[k[0]])
else:
kdict[k] = str(self[f"{k[1]}:{k[0]}"])
except NonexistentInstance:
return EntryIndex(self._key)
return EntryKeys(kdict)
def _ancestors_or_self(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment