diff options
author | Chris Larson <clarson@kergoth.com> | 2004-05-27 05:15:57 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-05-27 05:15:57 +0000 |
commit | 27aaaf05d86ae2e438a23fd308b255f0ccbb4d62 (patch) | |
tree | 68ed638f787056c7c239b3022390b70d8b070e35 /bin/oe/build.py | |
parent | 75fd96e8844935e716c19e3ed823d5fae3ed15b2 (diff) | |
download | bitbake-contrib-27aaaf05d86ae2e438a23fd308b255f0ccbb4d62.tar.gz |
BUGFIX: correct indentation on that build debugging cset.
Diffstat (limited to 'bin/oe/build.py')
-rw-r--r-- | bin/oe/build.py | 14 |
1 files changed, 7 insertions, 7 deletions
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()] |