summaryrefslogtreecommitdiff
path: root/obnamlib/fmt_ga/indexes.py
diff options
context:
space:
mode:
Diffstat (limited to 'obnamlib/fmt_ga/indexes.py')
-rw-r--r--obnamlib/fmt_ga/indexes.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/obnamlib/fmt_ga/indexes.py b/obnamlib/fmt_ga/indexes.py
index a3986ec5..de73c06a 100644
--- a/obnamlib/fmt_ga/indexes.py
+++ b/obnamlib/fmt_ga/indexes.py
@@ -28,11 +28,15 @@ class GAChunkIndexes(object):
_well_known_blob = 'root'
def __init__(self):
+ obnamlib.object_created(self)
self._fs = None
self._checksum_name = None
self.set_dirname('chunk-indexes')
self.clear()
+ def __del__(self):
+ obnamlib.object_deleted(self, self._data)
+
def set_fs(self, fs):
self._fs = fs