diff --git a/acceptance/bin/sort_lines.py b/acceptance/bin/sort_lines.py index e7b8256e4..9ac87feee 100755 --- a/acceptance/bin/sort_lines.py +++ b/acceptance/bin/sort_lines.py @@ -2,7 +2,9 @@ """ Helper to sort lines in text file. Similar to 'sort' but no dependence on locale or presence of 'sort' in PATH. """ + import sys + lines = sys.stdin.readlines() lines.sort() sys.stdout.write("".join(lines))