From 27aaaf05d86ae2e438a23fd308b255f0ccbb4d62 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 27 May 2004 05:15:57 +0000 Subject: BUGFIX: correct indentation on that build debugging cset. --- bin/oe/build.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'bin/oe/build.py') diff --git a/bin/oe/build.py b/bin/oe/build.py index 9022d52cb..92ac8f74a 100644 --- a/bin/oe/build.py +++ b/bin/oe/build.py @@ -176,16 +176,16 @@ def exec_func_shell(func, d): # open logs si = file('/dev/null', 'r') try: - if data.getVar("OEDEBUG", d): - so = os.popen("tee \"%s\"" % logfile, "w") - se = so - else: - so = file(logfile, 'w') - se = so + if data.getVar("OEDEBUG", d): + so = os.popen("tee \"%s\"" % logfile, "w") + else: + so = file(logfile, 'w') except OSError, e: - oe.error("opening log files: %s" % e) + oe.error("opening log file: %s" % e) pass + se = so + # dup the existing fds so we dont lose them osi = [os.dup(sys.stdin.fileno()), sys.stdin.fileno()] oso = [os.dup(sys.stdout.fileno()), sys.stdout.fileno()] -- cgit 1.2.3-korg