From: Julien Rioux Date: Sat, 14 Jan 2012 20:56:40 +0000 (-0500) Subject: Regtest script: Remove unused arguments. X-Git-Tag: release/2.15.27-1~37 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=26c0145254ec784594331822b6f0700aac7fe3c5;p=lilypond.git Regtest script: Remove unused arguments. --- diff --git a/scripts/build/output-distance.py b/scripts/build/output-distance.py index 767e253fa2..f637508824 100755 --- a/scripts/build/output-distance.py +++ b/scripts/build/output-distance.py @@ -947,13 +947,10 @@ class ComparisonData: out.write ('%d below threshold\n' % len (below)) out.write ('%d unchanged\n' % len (unchanged)) - def create_text_result_page (self, dir1, dir2, dest_dir, threshold): + def create_text_result_page (self, dest_dir, threshold): self.write_text_result_page (dest_dir + '/index.txt', threshold) - def create_html_result_page (self, dir1, dir2, dest_dir, threshold): - dir1 = dir1.replace ('//', '/') - dir2 = dir2.replace ('//', '/') - + def create_html_result_page (self, dest_dir, threshold): (changed, below, unchanged) = self.thresholded_results (threshold) header_row = ''' @@ -1049,8 +1046,8 @@ def compare_tree_pairs (tree_pairs, dest_dir, threshold): system ('rm -rf %s '% dest_dir) data.write_changed (dest_dir, threshold) - data.create_html_result_page (dir1, dir2, dest_dir, threshold) - data.create_text_result_page (dir1, dir2, dest_dir, threshold) + data.create_html_result_page (dest_dir, threshold) + data.create_text_result_page (dest_dir, threshold) ################################################################ # TESTING