Make a call to internal _data attribute

This commit is contained in:
Eric Torres 2019-04-08 22:12:17 -07:00
parent a7eef6825f
commit 981e7cfa58

View File

@ -97,7 +97,7 @@ class Repository(Hierarchy):
def __getitem__(self, position):
"""Retrieve a Snapshot at a certain index."""
return self.data["snapshots"][position]
return self._data["snapshots"][position]
def __delitem__(self, s):
"""Delete a Snapshot in this Repository."""