diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-02-23 19:12:28 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-02-23 19:12:28 +0000 |
commit | 196fd4050994e568c3085dfc2610f00d5d367b07 (patch) | |
tree | 93305ba1689719a94c15e4afc493be3adea47f58 /obnamlib/plugins/fuse_plugin.py | |
parent | 95c3a2412be22c5aa17e55f2d4a668c8ab6bc81f (diff) | |
download | obnam-196fd4050994e568c3085dfc2610f00d5d367b07.tar.gz |
Remove unnecessary helper variable
Diffstat (limited to 'obnamlib/plugins/fuse_plugin.py')
-rw-r--r-- | obnamlib/plugins/fuse_plugin.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/obnamlib/plugins/fuse_plugin.py b/obnamlib/plugins/fuse_plugin.py index 874b7c46..43e8b203 100644 --- a/obnamlib/plugins/fuse_plugin.py +++ b/obnamlib/plugins/fuse_plugin.py @@ -207,11 +207,9 @@ class ObnamFuse(fuse.Fuse): fuse.Fuse.__init__(self, *args, **kw) def init_root(self): - repo = self.obnam.repo - # we need the list of all real (non-checkpoint) generations - generations = [gen for gen in repo.list_generations() - if not repo.get_is_checkpoint(gen)] + generations = [gen for gen in self.obnam.repo.list_generations() + if not self.obnam.repo.get_is_checkpoint(gen)] self.rootstat, self.rootlist = self.multiple_root_list(generations) tracing.trace('multiple rootlist=%r', self.rootlist) |