From 2fe5f096b7ea05011d96f9c0523a0ddbe2748c59 Mon Sep 17 00:00:00 2001 From: Krytarik Raido Date: Tue, 2 Aug 2022 01:23:04 +0200 Subject: Actually ignore stderr on apt-ftparchive (ref: 7ea6bb3) Closes: #990414 --- mini-dinstall | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mini-dinstall b/mini-dinstall index 3e0072a..60a29dc 100755 --- a/mini-dinstall +++ b/mini-dinstall @@ -1133,7 +1133,8 @@ class ArchiveDirIndexer(threading.Thread): newxzpackagesfilename = newpackagesfilename + '.xz' newpackagesfile = open(newpackagesfilename, 'wb') newxzpackagesfile = lzma.open(newxzpackagesfilename, 'w') - process = subprocess.Popen(cmdline, stdout=subprocess.PIPE, cwd=os.path.join(self._dir, '..')) + process = subprocess.Popen(cmdline, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, + cwd=os.path.join(self._dir, '..')) buf = process.stdout.read(8192) while buf: newpackagesfile.write(buf) -- cgit v1.2.3