Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
persistent
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
persistent
Commits
ea7505e5
Commit
ea7505e5
authored
Feb 19, 2014
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap long line.
parent
a5f98fe6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
persistent/persistence.py
persistent/persistence.py
+3
-1
No files found.
persistent/persistence.py
View file @
ea7505e5
...
@@ -390,7 +390,9 @@ class Persistent(object):
...
@@ -390,7 +390,9 @@ class Persistent(object):
# detail, the '_cache' attribute of the jar. We made it a
# detail, the '_cache' attribute of the jar. We made it a
# private API to avoid the cycle of keeping a reference to
# private API to avoid the cycle of keeping a reference to
# the cache on the persistent object.
# the cache on the persistent object.
if
self
.
__jar
is
not
None
and
self
.
__oid
is
not
None
and
self
.
_p_state
>=
0
:
if
(
self
.
__jar
is
not
None
and
self
.
__oid
is
not
None
and
self
.
_p_state
>=
0
):
# This scenario arises in ZODB: ZODB.serialize.ObjectWriter
# This scenario arises in ZODB: ZODB.serialize.ObjectWriter
# can assign a jar and an oid to newly seen persistent objects,
# can assign a jar and an oid to newly seen persistent objects,
# but because they are newly created, they aren't in the
# but because they are newly created, they aren't in the
...
...
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