diff options
| author | 2022-08-02 01:23:04 +0200 | |
|---|---|---|
| committer | 2022-08-02 01:23:04 +0200 | |
| commit | 2fe5f096b7ea05011d96f9c0523a0ddbe2748c59 (patch) | |
| tree | faae3f97b5d36facd7ee4ef48b655282ed1432d5 /mini-dinstall | |
| parent | 1a1dc8cb166c0e01ac070e3fff0b4e18f64f5a11 (diff) | |
Actually ignore stderr on apt-ftparchive (ref: 7ea6bb3)
Closes: #990414
Diffstat (limited to 'mini-dinstall')
| -rwxr-xr-x | mini-dinstall | 3 |
1 files changed, 2 insertions, 1 deletions
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) |
