From 6e892c3463b7a7568082166de3bdfb59f2bca967 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Mon, 27 Jan 2025 10:37:54 +0100 Subject: [PATCH] ruff format --- acceptance/bin/sort_lines.py | 2 ++ 1 file changed, 2 insertions(+) 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))