Make a call to internal _data attribute
This commit is contained in:
parent
a7eef6825f
commit
981e7cfa58
@ -97,7 +97,7 @@ class Repository(Hierarchy):
|
|||||||
|
|
||||||
def __getitem__(self, position):
|
def __getitem__(self, position):
|
||||||
"""Retrieve a Snapshot at a certain index."""
|
"""Retrieve a Snapshot at a certain index."""
|
||||||
return self.data["snapshots"][position]
|
return self._data["snapshots"][position]
|
||||||
|
|
||||||
def __delitem__(self, s):
|
def __delitem__(self, s):
|
||||||
"""Delete a Snapshot in this Repository."""
|
"""Delete a Snapshot in this Repository."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user