From: Holger Levsen Date: Tue, 25 Oct 2011 18:25:14 +0000 (+0200) Subject: some whitespace fixes X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=dc74ce1bf8ce921deddb826ab1f13a1e8496cc13;p=profitbricks%2Fjenkins-build-scripts.git some whitespace fixes --- diff --git a/debian_build.py b/debian_build.py index 4d99c6c..820faf8 100755 --- a/debian_build.py +++ b/debian_build.py @@ -491,22 +491,21 @@ if __name__ == '__main__': '%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: