'%s' % flavour,
'%s' % options.distribution,
'%s' % pb_suite ]
- cmdobj = subprocess.Popen(
- cmd,
- shell=False,
- close_fds=True,
- stdout=subprocess.PIPE,
- stderr=subprocess.PIPE,
- env=os.environ
- )
- logger.info('calling "%s" ...', ' '.join(cmd))
- ret = os.system('%s' %(' '.join(cmd)))
- if ret:
- logger_loud_error(
- '"%s" returned non-zero (exitcode was: %s).',
- ' '.join(cmd),
- ret,
+ cmdobj = subprocess.Popen(
+ cmd,
+ shell=False,
+ close_fds=True,
+ stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE,
)
+ logger.info('calling "%s" ...', ' '.join(cmd))
+ ret = os.system('%s' %(' '.join(cmd)))
+ if ret:
+ logger_loud_error(
+ '"%s" returned non-zero (exitcode was: %s).',
+ ' '.join(cmd),
+ ret,
+ )
fh.close()
exit_ok()
except Exception, error: