summaryrefslogtreecommitdiff
path: root/obnamlib/fmt_ga/indexes.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-05-17 21:04:23 +0300
committerLars Wirzenius <liw@liw.fi>2015-05-17 21:04:23 +0300
commit64e2622e1e99bc5307edf7c9401aaff17587f9c8 (patch)
treef28a21a8d1696bbb7ce6f281fcd6587f05ee5d8a /obnamlib/fmt_ga/indexes.py
parentd7e8d48fba03f17dcef130fa988c0c3f2d27bbeb (diff)
downloadobnam-64e2622e1e99bc5307edf7c9401aaff17587f9c8.tar.gz
Fix filename for a file that is not a bag
Diffstat (limited to 'obnamlib/fmt_ga/indexes.py')
-rw-r--r--obnamlib/fmt_ga/indexes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/fmt_ga/indexes.py b/obnamlib/fmt_ga/indexes.py
index 86c7648f..9985061e 100644
--- a/obnamlib/fmt_ga/indexes.py
+++ b/obnamlib/fmt_ga/indexes.py
@@ -52,7 +52,7 @@ class GAChunkIndexes(object):
self._fs.overwrite_file(filename, blob)
def _get_filename(self):
- return os.path.join(self.get_dirname(), 'data.bag')
+ return os.path.join(self.get_dirname(), 'data.dat')
def prepare_chunk_for_indexes(self, chunk_content):
return hashlib.sha512(chunk_content).hexdigest()