From 981e7cfa5815ce7bf8493e5f7694957fb9b39ba0 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Mon, 8 Apr 2019 22:12:17 -0700 Subject: [PATCH] Make a call to internal _data attribute --- rbackup/hierarchy/repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbackup/hierarchy/repository.py b/rbackup/hierarchy/repository.py index f1d9293..3f0d33b 100644 --- a/rbackup/hierarchy/repository.py +++ b/rbackup/hierarchy/repository.py @@ -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."""