summaryrefslogtreecommitdiff
path: root/obnamlib/plugins/fuse_plugin.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-02-23 18:22:05 +0000
committerLars Wirzenius <liw@liw.fi>2014-02-23 18:22:05 +0000
commit461014864c2bc07f2b5ab49606d6a081f1a56f28 (patch)
tree3574477e642a484cb4ed3b1edcf1e2bc2a004c53 /obnamlib/plugins/fuse_plugin.py
parent6c5492e849c5d03c9dc614cb98db052412550677 (diff)
downloadobnam-461014864c2bc07f2b5ab49606d6a081f1a56f28.tar.gz
Get rid of another helper variable
Diffstat (limited to 'obnamlib/plugins/fuse_plugin.py')
-rw-r--r--obnamlib/plugins/fuse_plugin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/obnamlib/plugins/fuse_plugin.py b/obnamlib/plugins/fuse_plugin.py
index 7a468eb3..05d12395 100644
--- a/obnamlib/plugins/fuse_plugin.py
+++ b/obnamlib/plugins/fuse_plugin.py
@@ -245,14 +245,13 @@ class ObnamFuse(fuse.Fuse):
return st
def multiple_root_list(self, generations):
- repo = self.obnam.repo
rootlist = {}
used_generations = []
for gen in generations:
path = '/' + str(gen)
try:
genstat = self.get_stat(path)
- start, end = repo.get_generation_times(gen)
+ start, end = self.obnam.repo.get_generation_times(gen)
genstat.st_ctime = genstat.st_mtime = end
rootlist[path] = genstat
used_generations.append(gen)