From 09d52ad8c828d2744ddeba028cd5044777504d35 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 5 Mar 2010 10:05:23 +0100 Subject: [PATCH] fix last commit --- runtests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtests.py b/runtests.py index f5958f7e..91e3c2fa 100644 --- a/runtests.py +++ b/runtests.py @@ -888,8 +888,8 @@ if __name__ == '__main__': "Failed to import xmlrunner.XMLTestRunner, no XML output available\n") xml_output_dir = None - if xml_output_dir: - test_runner = XMLTestRunner(output=xml_output_dir) + if options.xml_output_dir: + test_runner = XMLTestRunner(output=options.xml_output_dir) else: test_runner = unittest.TextTestRunner(verbosity=options.verbosity) -- 2.26.2