summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
authorChris Rose <chrisros@amazon.com>2014-02-19 19:59:44 -0800
committerChris Rose <chrisros@amazon.com>2014-02-19 19:59:44 -0800
commit634a459ba7f866f4c80cfe6663672fc299cb9f7c (patch)
tree51f281ed667b45886962ac73703f958b42588b46 /coverage/control.py
parent28290aab1f288c7b8bf799b8037df8b9711df0a1 (diff)
downloadpython-coveragepy-634a459ba7f866f4c80cfe6663672fc299cb9f7c.tar.gz
Clean up the comment on the xmlreport fix
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 5c126b6..38c6cb4 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)