Title: [101817] trunk/Tools
- Revision
- 101817
- Author
- [email protected]
- Date
- 2011-12-02 10:00:43 -0800 (Fri, 02 Dec 2011)
Log Message
Teach prepare-ChangeLog to treat master.cfg as a Python file
Fixes <http://webkit.org/b/73658> prepare-ChangeLog doesn't show modified classes/functions
in buildbot's master.cfg
Reviewed by Darin Adler.
* Scripts/prepare-ChangeLog:
(get_function_line_ranges): Use get_function_line_ranges_for_python if the filename is
master.cfg.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (101816 => 101817)
--- trunk/Tools/ChangeLog 2011-12-02 17:49:02 UTC (rev 101816)
+++ trunk/Tools/ChangeLog 2011-12-02 18:00:43 UTC (rev 101817)
@@ -1,3 +1,16 @@
+2011-12-02 Adam Roben <[email protected]>
+
+ Teach prepare-ChangeLog to treat master.cfg as a Python file
+
+ Fixes <http://webkit.org/b/73658> prepare-ChangeLog doesn't show modified classes/functions
+ in buildbot's master.cfg
+
+ Reviewed by Darin Adler.
+
+ * Scripts/prepare-ChangeLog:
+ (get_function_line_ranges): Use get_function_line_ranges_for_python if the filename is
+ master.cfg.
+
2011-12-02 Martin Robinson <[email protected]>
[GTK] Create a wrapper script that knows how to install jhbuild and run commands with it
Modified: trunk/Tools/Scripts/prepare-ChangeLog (101816 => 101817)
--- trunk/Tools/Scripts/prepare-ChangeLog 2011-12-02 17:49:02 UTC (rev 101816)
+++ trunk/Tools/Scripts/prepare-ChangeLog 2011-12-02 18:00:43 UTC (rev 101817)
@@ -499,7 +499,7 @@
return get_function_line_ranges_for_javascript($file_handle, $file_name) if $file_name =~ /\.js$/;
return get_selector_line_ranges_for_css($file_handle, $file_name) if $file_name =~ /\.css$/;
return get_function_line_ranges_for_perl($file_handle, $file_name) if $file_name =~ /\.p[lm]$/;
- return get_function_line_ranges_for_python($file_handle, $file_name) if $file_name =~ /\.py$/;
+ return get_function_line_ranges_for_python($file_handle, $file_name) if $file_name =~ /\.py$/ or $file_name =~ /master\.cfg$/;
# Try to determine the source language based on the script interpreter.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes