diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-11-15 19:40:53 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-11-15 19:40:53 +0000 |
commit | c44f10898c524a1d42a3c46d529ca9465955f5c1 (patch) | |
tree | b005a052f6ab1b4f515306e0836ed9e4386cf7b0 /obnamlib/plugins/forget_plugin.py | |
parent | b86a9408a7d4f84e29ef885a52a76a772113f2ac (diff) | |
download | obnam-c44f10898c524a1d42a3c46d529ca9465955f5c1.tar.gz |
Call clients clients, instead of hosts.
Diffstat (limited to 'obnamlib/plugins/forget_plugin.py')
-rw-r--r-- | obnamlib/plugins/forget_plugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/obnamlib/plugins/forget_plugin.py b/obnamlib/plugins/forget_plugin.py index 70093785..66b1bfbb 100644 --- a/obnamlib/plugins/forget_plugin.py +++ b/obnamlib/plugins/forget_plugin.py @@ -31,14 +31,14 @@ class ForgetPlugin(obnamlib.ObnamPlugin): def forget(self, args): self.app.config.require('store') - self.app.config.require('hostname') + self.app.config.require('client-name') fs = self.app.fsf.new(self.app.config['store']) fs.connect() self.store = obnamlib.Store(fs, self.app.config['node-size'], self.app.config['upload-queue-size'], self.app.config['lru-size']) - self.store.lock_host(self.app.config['hostname']) + self.store.lock_client(self.app.config['client-name']) if args: for genid in args: @@ -59,7 +59,7 @@ class ForgetPlugin(obnamlib.ObnamPlugin): if genid not in keepids: self.remove(genid) - self.store.commit_host() + self.store.commit_client() def remove(self, genid): if self.app.config['pretend']: |