Permalink
Browse files

completed function send in class ConnectedCommand

  • Loading branch information...
1 parent 04e88fe commit 60eaaf9901b071b72b01ee0cc474621f6afc8677 @eth7 eth7 committed Feb 19, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 envoy/core.py
View
@@ -100,10 +100,9 @@ def expect(self, bytes, stream=None):
stream = self.std_out
pass
- def send(self, end='\n'):
+ def send(self, str, end='\n'):
"""Sends a line to std_in."""
- #TODO: Y U LINE BUFFER
- pass
+ return self._process.stdin.write(str+end)
def block(self):
"""Blocks until command finishes. Returns Response instance."""

0 comments on commit 60eaaf9

Please sign in to comment.