Commit 0c34630c authored by Julien Muchembled's avatar Julien Muchembled

importer: reenable compression by default

It was disabled by mistake in commit fd80cc30.
parent 838f450c
......@@ -297,9 +297,9 @@ class ImporterDatabaseManager(DatabaseManager):
main = {'adapter': 'MySQL', 'wait': 0}
main.update(config.items(sections.pop(0)))
self.zodb = ((x, dict(config.items(x))) for x in sections)
x = main.get('compress')
x = main.get('compress', 'true')
try:
self.compress = bool(x and ('false', 'true').index(x))
self.compress = bool(('false', 'true').index(x))
except ValueError:
self.compress = compress.parseOption(x)
self.db = buildDatabaseManager(main['adapter'],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment