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
Ivan Tyagov
neoppod
Commits
02763c9a
Commit
02763c9a
authored
Jan 06, 2012
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix handling of error packets
This fixes a regression in commit
4720ba33
.
parent
d62476dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
neo/lib/connection.py
neo/lib/connection.py
+2
-1
No files found.
neo/lib/connection.py
View file @
02763c9a
...
@@ -167,9 +167,10 @@ class HandlerSwitcher(object):
...
@@ -167,9 +167,10 @@ class HandlerSwitcher(object):
return
return
# checkout the expected answer class
# checkout the expected answer class
try
:
try
:
klass
,
timeout
,
_
,
kw
=
request_dict
.
pop
(
msg_id
)
klass
,
_
,
_
,
kw
=
request_dict
.
pop
(
msg_id
)
except
KeyError
:
except
KeyError
:
klass
=
None
klass
=
None
kw
=
{}
if
klass
and
isinstance
(
packet
,
klass
)
or
packet
.
isError
():
if
klass
and
isinstance
(
packet
,
klass
)
or
packet
.
isError
():
handler
.
packetReceived
(
connection
,
packet
,
kw
)
handler
.
packetReceived
(
connection
,
packet
,
kw
)
else
:
else
:
...
...
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