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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
b5287ab0
Commit
b5287ab0
authored
Sep 17, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused argument in poll(). Fix comment in pending().
parent
311ce18c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZEO/zrpc/connection.py
src/ZEO/zrpc/connection.py
+2
-2
No files found.
src/ZEO/zrpc/connection.py
View file @
b5287ab0
...
...
@@ -386,7 +386,7 @@ class Connection(smac.SizedMessageAsyncConnection):
finally
:
self
.
__replies_cond
.
release
()
def
poll
(
self
,
wait_for_reply
=
0
):
def
poll
(
self
):
"""Invoke asyncore mainloop to get pending message out."""
if
__debug__
:
log
(
"poll(), async=%d"
%
self
.
is_async
(),
level
=
zLOG
.
TRACE
)
...
...
@@ -402,7 +402,7 @@ class Connection(smac.SizedMessageAsyncConnection):
if
self
.
is_async
():
return
# Inline the asyncore poll3 function to know whether any input
# was actually read. Repeat until
know
input is ready.
# was actually read. Repeat until
no
input is ready.
# XXX This only does reads.
poll
=
select
.
poll
()
poll
.
register
(
self
.
_fileno
,
select
.
POLLIN
)
...
...
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