summaryrefslogtreecommitdiff
path: root/rl
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2015-07-05 19:52:36 +0200
committerPeter Palfrader <peter@palfrader.org>2015-07-05 19:52:36 +0200
commit252a5024d8a90c27a039aad9f55797dff2c4a42f (patch)
tree19b20cfec8f3b65afc6150d198b371bdee111ec4 /rl
parentc34ffe3693be46f8f4afa1dbddecbee797254237 (diff)
python3 for rl
Diffstat (limited to 'rl')
-rwxr-xr-xrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/rl b/rl
index 7f36068..316e23c 100755
--- a/rl
+++ b/rl
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# Ramdomize the lines from stdin.
#
@@ -37,4 +37,4 @@ lines = sys.stdin.readlines()
random.SystemRandom().shuffle(lines)
for l in lines:
- print l,
+ print(l, end='')