Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Mirror
sjrpc
Commits
6f62b516
Commit
6f62b516
authored
Dec 30, 2010
by
Antoine Millet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug with polling object.
parent
8130579c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
sjrpc/core/connectionmanagers.py
sjrpc/core/connectionmanagers.py
+7
-3
No files found.
sjrpc/core/connectionmanagers.py
View file @
6f62b516
...
@@ -43,9 +43,13 @@ class ConnectionManager(object):
...
@@ -43,9 +43,13 @@ class ConnectionManager(object):
'''
'''
while
self
.
_running
:
while
self
.
_running
:
events
=
self
.
_poll
.
poll
(
ConnectionManager
.
POLL_TIMEOUT
)
try
:
for
fd
,
event
in
events
:
events
=
self
.
_poll
.
poll
(
ConnectionManager
.
POLL_TIMEOUT
)
self
.
handle_event
(
fd
,
event
)
except
IOError
:
pass
else
:
for
fd
,
event
in
events
:
self
.
handle_event
(
fd
,
event
)
def
start
(
self
,
daemonize
=
False
):
def
start
(
self
,
daemonize
=
False
):
'''
'''
...
...
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