mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
urlfetcher: Don't print isoinfo errors to stderr
Like if passed an invalid --location iso file
This commit is contained in:
parent
f035f313a4
commit
f55105180b
@ -318,7 +318,7 @@ class _ISOURLFetcher(_URLFetcher):
|
||||
cmd = ["isoinfo", "-J", "-i", self.location, "-f"]
|
||||
|
||||
logging.debug("Running isoinfo: %s", cmd)
|
||||
output = subprocess.check_output(cmd)
|
||||
output = subprocess.check_output(cmd, stderr=subprocess.DEVNULL)
|
||||
|
||||
self._cache_file_list = output.splitlines(False)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user