summaryrefslogtreecommitdiff
path: root/obnamlib/plugins/show_plugin.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-12-09 16:12:22 +0000
committerLars Wirzenius <liw@liw.fi>2013-12-28 21:51:24 +0000
commit492dc888a3e5c7320a058f04d18045dd1aae5842 (patch)
tree76b81befff4b9f48087ae91f42d1995a9afde9df /obnamlib/plugins/show_plugin.py
parent14d37c9ed2cec7ace5ac0f58011fbbdc96783b5a (diff)
downloadobnam-492dc888a3e5c7320a058f04d18045dd1aae5842.tar.gz
Fix bugs in calling new code
Diffstat (limited to 'obnamlib/plugins/show_plugin.py')
-rw-r--r--obnamlib/plugins/show_plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/obnamlib/plugins/show_plugin.py b/obnamlib/plugins/show_plugin.py
index e680797d..188a92cb 100644
--- a/obnamlib/plugins/show_plugin.py
+++ b/obnamlib/plugins/show_plugin.py
@@ -167,8 +167,9 @@ class ShowPlugin(obnamlib.ObnamPlugin):
if len(args) is 0:
args = ['/']
+ client_name = self.app.settings['client-name']
for genspec in self.app.settings['generation']:
- gen_id = self.repo.interpret_generation_spec(gen_spec)
+ gen_id = self.repo.interpret_generation_spec(client_name, genspec)
# FIXME: Get generation start, end times here.
started, ended = 0, 0
started = self.format_time(started)