summaryrefslogtreecommitdiff
path: root/obnamlib/plugins/restore_plugin.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-12-08 17:21:52 +0000
committerLars Wirzenius <liw@liw.fi>2013-12-28 21:51:23 +0000
commit33d1a991139a7cf02a7b05022db87a62ca4c0637 (patch)
treeffb86b23543befc1e6b71bea4fb51aca259a1082 /obnamlib/plugins/restore_plugin.py
parent2d7b35fa8046e4791ffc7cf32b4100491e5b3425 (diff)
downloadobnam-33d1a991139a7cf02a7b05022db87a62ca4c0637.tar.gz
Have RepositoryFactory call init_repo
Diffstat (limited to 'obnamlib/plugins/restore_plugin.py')
-rw-r--r--obnamlib/plugins/restore_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/plugins/restore_plugin.py b/obnamlib/plugins/restore_plugin.py
index cb8afab4..4101a6da 100644
--- a/obnamlib/plugins/restore_plugin.py
+++ b/obnamlib/plugins/restore_plugin.py
@@ -106,7 +106,7 @@ class RestorePlugin(obnamlib.ObnamPlugin):
self.file_count = 0
self.started = time.time()
- self.repo = self.app.open_repository()
+ self.repo = self.app.get_repository_object()
self.repo.open_client(self.app.settings['client-name'])
if self.write_ok:
self.fs = self.app.fsf.new(self.app.settings['to'], create=True)