commit:     2331459f1ad819185fc9b497e2879de813154051
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  5 08:33:42 2026 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Jan  5 08:34:13 2026 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=2331459f

support: fix more imports, grr

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 catalyst/support.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/catalyst/support.py b/catalyst/support.py
index a3d97e6f..298bcd1f 100644
--- a/catalyst/support.py
+++ b/catalyst/support.py
@@ -5,7 +5,7 @@ import os
 import shutil
 import time
 from pathlib import Path
-from subprocess import Popen
+from subprocess import Popen, PIPE
 
 import libmount
 
@@ -73,7 +73,7 @@ def sed(my_re, my_in):
     log.debug('sed: input: %r', my_in)
     sys.stdout.flush()
 
-    p = Popen(["sed", "-E", "-e", my_re.encode('utf-8')], 
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+    p = Popen(["sed", "-E", "-e", my_re.encode('utf-8')], stdin=PIPE, 
stdout=PIPE, stderr=PIPE)
     (my_out_b, my_err_b) = p.communicate(my_in.encode('utf-8'))
 
     if my_err_b:

Reply via email to