summaryrefslogtreecommitdiff
path: root/coverage/html.py
diff options
context:
space:
mode:
authorrozza@x103086.gcapmedia.com <rozza@x103086.gcapmedia.com>2009-11-20 11:55:07 +0000
committerrozza@x103086.gcapmedia.com <rozza@x103086.gcapmedia.com>2009-11-20 11:55:07 +0000
commit9158721d1bb1656b36552f06cfe3e0c3683619ad (patch)
tree5e87dc0a18db69fd174ef448c075a1ca5d5a52a0 /coverage/html.py
parent7ef0b6926536b39cda0b659e3d814585b873fa9e (diff)
parent5dc96eaae9966d08dafccdc676d4ad8fdc6484d4 (diff)
downloadpython-coveragepy-git-9158721d1bb1656b36552f06cfe3e0c3683619ad.tar.gz
Merging in changes from http://bitbucket.org/ned/coveragepy/
Diffstat (limited to 'coverage/html.py')
-rw-r--r--coverage/html.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/coverage/html.py b/coverage/html.py
index 8c274728..3877c834 100644
--- a/coverage/html.py
+++ b/coverage/html.py
@@ -48,14 +48,13 @@ class HtmlReporter(Reporter):
self.index_file()
# Create the once-per-directory files.
- shutil.copyfile(
- data_filename("htmlfiles/style.css"),
- os.path.join(directory, "style.css")
- )
- shutil.copyfile(
- data_filename("htmlfiles/jquery-1.3.2.min.js"),
- os.path.join(directory, "jquery-1.3.2.min.js")
- )
+ for static in [
+ "style.css", "jquery-1.3.2.min.js", "jquery.tablesorter.min.js"
+ ]:
+ shutil.copyfile(
+ data_filename("htmlfiles/" + static),
+ os.path.join(directory, static)
+ )
def html_file(self, cu, analysis):
"""Generate an HTML file for one source file."""