From 4e1a87c430f9776fa0d4f0a1655f052a097859cd Mon Sep 17 00:00:00 2001 From: Chris Rose Date: Wed, 19 Feb 2014 19:59:44 -0800 Subject: Clean up the comment on the xmlreport fix --- coverage/control.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'coverage/control.py') diff --git a/coverage/control.py b/coverage/control.py index 5c126b65..38c6cb4f 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -692,11 +692,10 @@ class coverage(object): if self.config.xml_output == '-': outfile = sys.stdout else: - # ensure that the output directory is created; done here - # because this report pre-opens the output - # file. HTMLReport does this using the Report plumbing - # because its task is more complex, being multiple - # files. + # Ensure that the output directory is created; done here + # because this report pre-opens the output file. + # HTMLReport does this using the Report plumbing because + # its task is more complex, being multiple files. output_dir = os.path.dirname(self.config.xml_output) if output_dir and not os.path.isdir(output_dir): os.makedirs(output_dir) -- cgit v1.2.1