]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
some whitespace fixes
authorHolger Levsen <holger@layer-acht.org>
Tue, 25 Oct 2011 18:25:14 +0000 (20:25 +0200)
committerHolger Levsen <holger@layer-acht.org>
Tue, 25 Oct 2011 18:25:14 +0000 (20:25 +0200)
debian_build.py

index 4d99c6c61814f8f972519273eb01bb088ae91a75..820faf8f3070689d005132fc8df5a229afc7ab9d 100755 (executable)
@@ -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: