summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-03-17 22:38:34 +0000
committerLars Wirzenius <liw@liw.fi>2012-03-17 22:38:34 +0000
commitf7d2e4731db1a4558567d607414f8145ac98e4f3 (patch)
treeb0eeeb9cdb941b747cc1456784f1375c2d3c4f5e
parent6609b22da1f299c08dbb6dd43362bf398ef53a29 (diff)
downloadobnam-f7d2e4731db1a4558567d607414f8145ac98e4f3.tar.gz
Fix setting name
-rw-r--r--obnamlib/app.py2
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,