diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-02-23 18:20:11 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-02-23 18:20:11 +0000 |
commit | 6c5492e849c5d03c9dc614cb98db052412550677 (patch) | |
tree | 1199558a44a080298dbcbbdd8f10350b477873d8 /obnamlib/plugins/fuse_plugin.py | |
parent | bd8700382e02ac4cfb3788d75da02738ee10667d (diff) | |
download | obnam-6c5492e849c5d03c9dc614cb98db052412550677.tar.gz |
Get rid of another helper variable
Diffstat (limited to 'obnamlib/plugins/fuse_plugin.py')
-rw-r--r-- | obnamlib/plugins/fuse_plugin.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/obnamlib/plugins/fuse_plugin.py b/obnamlib/plugins/fuse_plugin.py index ab824e22..7a468eb3 100644 --- a/obnamlib/plugins/fuse_plugin.py +++ b/obnamlib/plugins/fuse_plugin.py @@ -204,9 +204,8 @@ class ObnamFuse(fuse.Fuse): try: self.obnam.reopen() - repo = self.obnam.repo - 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)] tracing.trace('found %d generations', len(generations)) self.rootstat, self.rootlist = self.multiple_root_list(generations) self.metadatacache.clear() |