summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2016-06-04 21:48:01 +0700
committerLars Wirzenius <liw@liw.fi>2016-07-14 19:59:30 +0300
commit34f5ad9978dd69455a7c5256382e3df809545aa4 (patch)
tree37a42bb2068267b8a00ec8f8e933a242b8a7e761
parent6d211dedc9a9ae20b84d85e319bfdb16815e5906 (diff)
downloadobnam-34f5ad9978dd69455a7c5256382e3df809545aa4.tar.gz
Fix typo in fuse_plugin, calling the wrong repo method
The repo interface exposes the `get_client_generation_ids` method, but in one location in `fuse_plugin` it is called as `get_clientgeneration_ids`. As reported in Fedora bugzilla, https://bugzilla.redhat.com/show_bug.cgi?id=1340138 #1340138 [abrt] obnam: fuse_plugin.py:391:statfs:AttributeError: 'RepositoryFormat6' object has no attribute 'get_clientgeneration_ids'
-rw-r--r--obnamlib/plugins/fuse_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/plugins/fuse_plugin.py b/obnamlib/plugins/fuse_plugin.py
index f0129ca8..97025dfb 100644
--- a/obnamlib/plugins/fuse_plugin.py
+++ b/obnamlib/plugins/fuse_plugin.py
@@ -388,7 +388,7 @@ class ObnamFuse(fuse.Fuse):
total_data = sum(
self.obnam.repo.get_generation_key(
gen, obnamlib.REPO_GENERATION_TOTAL_DATA)
- for gen in self.obnam.repo.get_clientgeneration_ids(client_name))
+ for gen in self.obnam.repo.get_client_generation_ids(client_name))
files = sum(
self.obnam.repo.get_generation_key(