summaryrefslogtreecommitdiff
path: root/obnamlib/plugins/restore_plugin.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-01-19 11:57:38 +0000
committerLars Wirzenius <liw@liw.fi>2014-01-19 11:57:38 +0000
commitb0ce4ca101c7c642bc19b10188aadd8d01bcf6cb (patch)
treef5a28445a77d5a6d875c76a19d6cc10b2e0b9b22 /obnamlib/plugins/restore_plugin.py
parenteabe883c4b0b19a4f152cc4c3d51b506412aed27 (diff)
downloadobnam-b0ce4ca101c7c642bc19b10188aadd8d01bcf6cb.tar.gz
Reformat awkwardly broken long statements
Diffstat (limited to 'obnamlib/plugins/restore_plugin.py')
-rw-r--r--obnamlib/plugins/restore_plugin.py17
1 files changed, 11 insertions, 6 deletions
diff --git a/obnamlib/plugins/restore_plugin.py b/obnamlib/plugins/restore_plugin.py
index bdbcfed5..e6e3c3ac 100644
--- a/obnamlib/plugins/restore_plugin.py
+++ b/obnamlib/plugins/restore_plugin.py
@@ -63,12 +63,17 @@ class RestorePlugin(obnamlib.ObnamPlugin):
# just b if b is an absolute path.
def enable(self):
- self.app.add_subcommand('restore', self.restore,
- arg_synopsis='[DIRECTORY]...')
- self.app.settings.string(['to'], 'where to restore')
- self.app.settings.string_list(['generation'],
- 'which generation to restore',
- default=['latest'])
+ self.app.add_subcommand(
+ 'restore',
+ self.restore,
+ arg_synopsis='[DIRECTORY]...')
+ self.app.settings.string(
+ ['to'],
+ 'where to restore')
+ self.app.settings.string_list(
+ ['generation'],
+ 'which generation to restore',
+ default=['latest'])
@property
def write_ok(self):