From 23268279f2e36ead00de93724e5ac5d8dba6194f Mon Sep 17 00:00:00 2001 From: yenatch Date: Sat, 7 Dec 2013 19:58:30 -0500 Subject: prequeue: less wasteful stdout rerouting --- preprocessor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'preprocessor.py') diff --git a/preprocessor.py b/preprocessor.py index 317a2fe6..cb9353af 100644 --- a/preprocessor.py +++ b/preprocessor.py @@ -279,7 +279,9 @@ def setup_processor(): def main(): processor = setup_processor() - processor.preprocess() + output = processor.preprocess() + processor.update_globals() + return output if __name__ == '__main__': main() -- cgit v1.2.3