Commits

Ben Finney  committed 4cf8554

Refactor handling of static report files to a separate function.

  • Participants
  • Parent commits 7be6416

Comments (0)

Files changed (1)

File coverage/html.py

         # Write the index file.
         self.index_file()
 
-        # Create the once-per-directory files.
+        self.make_local_static_report_files()
+
+    def make_local_static_report_files(self):
+        """ Make local instances of static files for HTML report. """
         for static in self.STATIC_FILES:
             shutil.copyfile(
                 data_filename("htmlfiles/" + static),