From dc74ce1bf8ce921deddb826ab1f13a1e8496cc13 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 25 Oct 2011 20:25:14 +0200 Subject: [PATCH] some whitespace fixes --- debian_build.py | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) 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: -- 2.39.5