diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-03-17 22:38:34 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-03-17 22:38:34 +0000 |
commit | f7d2e4731db1a4558567d607414f8145ac98e4f3 (patch) | |
tree | b0eeeb9cdb941b747cc1456784f1375c2d3c4f5e | |
parent | 6609b22da1f299c08dbb6dd43362bf398ef53a29 (diff) | |
download | obnam-f7d2e4731db1a4558567d607414f8145ac98e4f3.tar.gz |
Fix setting name
-rw-r--r-- | obnamlib/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/app.py b/obnamlib/app.py index d428c612..f9d2ba7a 100644 --- a/obnamlib/app.py +++ b/obnamlib/app.py @@ -173,7 +173,7 @@ class App(cliapp.Application): logging.debug('opening repository (create=%s)' % create) repopath = self.settings['repository'] repofs = self.fsf.new(repopath, create=create) - if self.settings['crash-after'] > 0: + if self.settings['crash-limit'] > 0: repofs.crash_limit = self.settings['crash-limit'] repofs.connect() return obnamlib.Repository(repofs, |