summaryrefslogtreecommitdiff
path: root/obnam
diff options
context:
space:
mode:
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)