Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
neoppod
Commits
d5834ee9
Commit
d5834ee9
authored
Apr 09, 2019
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
importer: fix hidden "maximum recursion depth exceeded" at startup
parent
c37bcfa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
neo/storage/database/importer.py
neo/storage/database/importer.py
+1
-1
No files found.
neo/storage/database/importer.py
View file @
d5834ee9
...
@@ -216,7 +216,7 @@ class ZODB(object):
...
@@ -216,7 +216,7 @@ class ZODB(object):
self
.
_connect
=
_connect
self
.
_connect
=
_connect
config
=
section
.
config
config
=
section
.
config
if
'read_only'
in
config
.
getSectionAttributes
():
if
'read_only'
in
config
.
getSectionAttributes
():
has_next_oid
=
config
.
read_only
=
hasattr
(
self
,
'next_oid'
)
has_next_oid
=
config
.
read_only
=
'next_oid'
in
self
.
__dict__
if
not
has_next_oid
:
if
not
has_next_oid
:
import
gc
import
gc
# This will reopen read-only as soon as we know the last oid.
# This will reopen read-only as soon as we know the last oid.
...
...
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