Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
0c34630c
Commit
0c34630c
authored
Apr 18, 2018
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
importer: reenable compression by default
It was disabled by mistake in commit
fd80cc30
.
parent
838f450c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
neo/storage/database/importer.py
neo/storage/database/importer.py
+2
-2
No files found.
neo/storage/database/importer.py
View file @
0c34630c
...
...
@@ -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'
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment