capture mock output even if it exits immediately

This commit is contained in:
Mike McLean 2015-06-17 11:14:25 -04:00
parent 9c69602a65
commit dee860ae44

View file

@ -374,7 +374,7 @@ class BuildRoot(object):
results = os.listdir(resultdir)
except OSError:
# will happen when mock hasn't created the resultdir yet
continue
results = []
for fname in results:
if fname.endswith('.log') and not logs.has_key(fname):