Skip to content
Snippets Groups Projects
Commit 8aa5233b authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Cleanup

parent 36acab2e
No related branches found
No related tags found
1 merge request!24Refactor offline
Pipeline #10192 passed with warnings
......@@ -107,6 +107,7 @@ class Branch:
"""Slicing magic"""
if isinstance(item, str):
return self.__getkey__(item)
return self.__class__(self._tree,
self._mapper,
index_chain=self._index_chain + [item],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment