summaryrefslogtreecommitdiff
path: root/obbenchlib
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-12-31 22:03:45 +0200
committerLars Wirzenius <liw@liw.fi>2015-12-31 22:03:45 +0200
commit4781aba834459420436b117b71de0280c08bba67 (patch)
tree0cc14a6e18c9b6dadb33dafe7d004c430bd679f5 /obbenchlib
parentec8571ff5f72973769044355f59d3f3452547260 (diff)
downloadobnam-benchmarks-4781aba834459420436b117b71de0280c08bba67.tar.gz
Fix obnam_config implementation
Diffstat (limited to 'obbenchlib')
-rw-r--r--obbenchlib/benchmarker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obbenchlib/benchmarker.py b/obbenchlib/benchmarker.py
index 82b6998..9b3d17c 100644
--- a/obbenchlib/benchmarker.py
+++ b/obbenchlib/benchmarker.py
@@ -85,7 +85,7 @@ class Benchmarker(object):
f.write('quiet = no\n')
f.write('repository = %s\n' % self._repodir)
f.write('root = %s\n' % self._livedir)
- for key, value in self.spec.get('obnam_config', {}):
+ for key, value in self.spec.get('obnam_config', {}).items():
f.write('%s = %s\n' % (key, value))
return config