urlfetcher: Silence xorisso stderr output

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2021-07-30 10:45:07 -04:00
parent 27525f4bab
commit 8754a59d92
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class _XorrisoReader():
cmd = ["xorriso", "-osirrox", "on", "-indev", self._location,
"-extract", url, tmp.name]
log.debug("Extracting iso file: %s", cmd)
subprocess.check_output(cmd)
subprocess.check_output(cmd, stderr=subprocess.DEVNULL)
return open(tmp.name, "rb").read()
def hasFile(self, url):