Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
ZEO
Commits
2c7a04f7
Commit
2c7a04f7
authored
8 years ago
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standard exceptions live in different places in Python 2 and Python 3.
parent
6e683133
master
x/iotrace
y/clear-cache-on-pack
y/rawext
5.2.1
5.2.1.dev0
5.2.0
5.1.2
5.1.1
5.1.0
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
5.0.0b0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/ZEO/asyncio/client.py
src/ZEO/asyncio/client.py
+4
-0
No files found.
src/ZEO/asyncio/client.py
View file @
2c7a04f7
...
...
@@ -303,6 +303,8 @@ def create_MultipleUndoErrors(class_, args):
exc_classes
=
{
'builtins.KeyError'
:
KeyError
,
'builtins.TypeError'
:
TypeError
,
'exceptions.KeyError'
:
KeyError
,
'exceptions.TypeError'
:
TypeError
,
'ZODB.POSException.ConflictError'
:
ZODB
.
POSException
.
ConflictError
,
'ZODB.POSException.POSKeyError'
:
ZODB
.
POSException
.
POSKeyError
,
'ZODB.POSException.ReadConflictError'
:
ZODB
.
POSException
.
ReadConflictError
,
...
...
@@ -313,6 +315,8 @@ exc_classes = {
exc_factories
=
{
'builtins.KeyError'
:
create_Exception
,
'builtins.TypeError'
:
create_Exception
,
'exceptions.KeyError'
:
create_Exception
,
'exceptions.TypeError'
:
create_Exception
,
'ZODB.POSException.BTreesConflictError'
:
create_BTreesConflictError
,
'ZODB.POSException.ConflictError'
:
create_ConflictError
,
'ZODB.POSException.MultipleUndoErrors'
:
create_MultipleUndoErrors
,
...
...
This diff is collapsed.
Click to expand it.
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