bug 587073 followup, re-silence the output of dsymutil

This commit is contained in:
Ted Mielczarek 2012-06-21 09:02:15 -04:00
parent ab29e418d9
commit 761fd3103f

View File

@ -706,7 +706,8 @@ class Dumper_Mac(Dumper):
shutil.rmtree(dsymbundle)
# dsymutil takes --arch=foo instead of -a foo like everything else
subprocess.call(["dsymutil"] + [a.replace('-a ', '--arch=') for a in self.archs if a]
+ [file])
+ [file],
stdout=open("/dev/null","w"))
if not os.path.exists(dsymbundle):
# dsymutil won't produce a .dSYM for files without symbols
return False