Commit c8e722f6 authored by Matt Harbison's avatar Matt Harbison

run: replace `pycompat.stdin` with `procutil.stdin`

The former was dropped in 5.5, and the latter has been around since 4.1.
parent f9676491ecc7
Pipeline #8196 failed with stage
in 18 minutes and 21 seconds
......@@ -223,7 +223,7 @@ def get_lines_from_listfile(filename, isutf8):
global _linesutf8
if filename == b'-':
lines = [ x.replace(b"\n", b"") for x in pycompat.stdin.readlines() ]
lines = [x.replace(b"\n", b"") for x in procutil.stdin.readlines()]
fd = open(filename, "r")
lines = [ x.replace("\n", "") for x in fd.readlines() ]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment