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
41908b25
Commit
41908b25
authored
Dec 23, 2013
by
Godefroid Chapelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pop() does check existence of key
parent
111e1b21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/ZODB/Connection.py
src/ZODB/Connection.py
+1
-2
No files found.
src/ZODB/Connection.py
View file @
41908b25
...
...
@@ -762,8 +762,7 @@ class Connection(ExportImport, object):
self
.
_creating
=
{}
for
oid
in
creating
:
if
oid
in
self
.
_readCurrent
:
self
.
_readCurrent
.
pop
(
oid
,
None
)
self
.
_readCurrent
.
pop
(
oid
,
None
)
o
=
self
.
_cache
.
get
(
oid
)
if
o
is
not
None
:
del
self
.
_cache
[
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