From fac82789bec75944aaa4080a06926bb0b5932c8d Mon Sep 17 00:00:00 2001 From: Mitch Watrous Date: Thu, 22 Sep 2011 09:33:54 -0700 Subject: [PATCH] Fix tabbing for code that creates introspected text files --- wscript | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/wscript b/wscript index ec42a6522..487427c05 100644 --- a/wscript +++ b/wscript @@ -889,17 +889,17 @@ class print_introspected_doxygen_task(Task.TaskBase): else: prog = program_obj.path.find_or_declare(ccroot.get_target_name(program_obj)).abspath(env) - # Create a header file with the introspected information. - doxygen_out = open(os.path.join('doc', 'introspected-doxygen.h'), 'w') - if subprocess.Popen([prog], stdout=doxygen_out, env=proc_env).wait(): - raise SystemExit(1) - doxygen_out.close() - - # Create a text file with the introspected information. - text_out = open(os.path.join('doc', 'ns3-object.txt'), 'w') - if subprocess.Popen([prog, '--output-text'], stdout=text_out, env=proc_env).wait(): - raise SystemExit(1) - text_out.close() + # Create a header file with the introspected information. + doxygen_out = open(os.path.join('doc', 'introspected-doxygen.h'), 'w') + if subprocess.Popen([prog], stdout=doxygen_out, env=proc_env).wait(): + raise SystemExit(1) + doxygen_out.close() + + # Create a text file with the introspected information. + text_out = open(os.path.join('doc', 'ns3-object.txt'), 'w') + if subprocess.Popen([prog, '--output-text'], stdout=text_out, env=proc_env).wait(): + raise SystemExit(1) + text_out.close() class run_python_unit_tests_task(Task.TaskBase): after = 'cc cxx link'