Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Nicolas Wavrant
ZODB
Commits
816f5a37
Commit
816f5a37
authored
Jan 12, 2005
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge rev 28470 from Zope3 trunk.
Typo repair checked in from a wrong project.
parent
394974d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZODB/serialize.py
src/ZODB/serialize.py
+2
-2
No files found.
src/ZODB/serialize.py
View file @
816f5a37
...
@@ -227,9 +227,9 @@ class BaseObjectWriter:
...
@@ -227,9 +227,9 @@ class BaseObjectWriter:
if
not
(
oid
is
None
or
isinstance
(
oid
,
str
)):
if
not
(
oid
is
None
or
isinstance
(
oid
,
str
)):
# Deserves a closer look:
# Deserves a closer look:
# Make sure it's not a descr
# Make sure it's not a descr
iptor
if
hasattr
(
oid
,
'__get__'
):
if
hasattr
(
oid
,
'__get__'
):
# The oid is a decriptor. That means obj is a non-persistent
# The oid is a de
s
criptor. That means obj is a non-persistent
# class whose instances are persistent, so ...
# class whose instances are persistent, so ...
# Not persistent, pickle normally
# Not persistent, pickle normally
return
None
return
None
...
...
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