urlfetcher: Don't print isoinfo errors to stderr

Like if passed an invalid --location iso file
This commit is contained in:
Cole Robinson 2019-01-31 18:14:37 -05:00
parent f035f313a4
commit f55105180b

View File

@ -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)