summaryrefslogtreecommitdiff
path: root/obnam
diff options
context:
space:
mode:
authorLars Wirzenius <liw@gytha>2008-08-10 21:38:36 +0300
committerLars Wirzenius <liw@gytha>2008-08-10 21:38:36 +0300
commit6ec6c54ccf25bd5e72559b00e58c832bba7416a9 (patch)
treeed81a18471c5eabd6131510cc4b9d06d279890a5 /obnam
parentb7aa0223a8d06455d8fa8d7c61edab32f4663b2a (diff)
downloadobnam-6ec6c54ccf25bd5e72559b00e58c832bba7416a9.tar.gz
Added --max-mappings.
Diffstat (limited to 'obnam')
-rwxr-xr-xobnam2
1 files changed, 2 insertions, 0 deletions
diff --git a/obnam b/obnam
index 2a3a6723..443c2125 100755
--- a/obnam
+++ b/obnam
@@ -31,6 +31,8 @@ def main():
try:
context = obnamlib.context.Context()
args = obnamlib.config.parse_options(context.config, sys.argv[1:])
+ context.map.max = context.config.getint("backup", "max-mappings")
+ context.contmap.max = context.config.getint("backup", "max-mappings")
context.cache = obnamlib.cache.Cache(context.config)
context.be = obnamlib.backend.init(context.config, context.cache)
context.be.set_progress_reporter(context.progress)