Skip to content

Commit

Permalink
updated watcher cmd example to be compatible with python 3 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
radovskyb committed Oct 18, 2016
1 parent 6d8c7a7 commit 7565e58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ First create a file called `script.py` with the following contents:
import sys

for line in sys.stdin:
print line + " - python"
print (line + " - python")
```

Next, start watcher with the `pipe` and `cmd` flags enabled:
Expand Down
2 changes: 1 addition & 1 deletion cmd/watcher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ First create a file called `script.py` with the following contents:
import sys

for line in sys.stdin:
print line + " - python"
print (line + " - python")
```

Next, start watcher with the `pipe` and `cmd` flags enabled:
Expand Down

0 comments on commit 7565e58

Please sign in to comment.