Skip to content

Commit

Permalink
FIX: netwrite to_send is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPalard committed Apr 7, 2011
1 parent e52df7d commit 94dac4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def netcat(to_send, host, port):
yield data

@Pipe
def netwrite(iterable, host, port):
def netwrite(to_send, host, port):
with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as s:
s.connect((host, port))
for data in to_send | traverse:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'pipe',
py_modules = ['pipe'],
version = '1.4',
version = '1.4.1',
description = 'Module enablig a sh like infix syntax (using pipes)',
author='Julien Palard',
author_email='julien@palard.fr',
Expand Down

0 comments on commit 94dac4f

Please sign in to comment.