Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Goblin OGM
AIO Gremlin
Commits
02fa9aee
Commit
02fa9aee
authored
May 12, 2015
by
davebshow
Browse files
removed extra method call
parent
30e60c05
Changes
1
Hide whitespace changes
Inline
Side-by-side
aiogremlin/client.py
View file @
02fa9aee
...
...
@@ -161,7 +161,7 @@ class GremlinResponseStream:
self
.
_loop
=
loop
or
asyncio
.
get_event_loop
()
@
asyncio
.
coroutine
def
_
read
(
self
):
def
read
(
self
):
if
self
.
_queue
.
at_eof
():
self
.
_conn
.
feed_pool
()
message
=
None
...
...
@@ -169,8 +169,3 @@ class GremlinResponseStream:
yield
from
self
.
_conn
.
_receive
()
message
=
yield
from
self
.
_queue
.
read
()
return
message
@
asyncio
.
coroutine
def
read
(
self
):
return
(
yield
from
self
.
_read
())
Write
Preview
Supports
Markdown
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