mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
urlfetcher: Silence xorisso stderr output
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user