Title: [150237] trunk/Tools
Revision
150237
Author
commit-qu...@webkit.org
Date
2013-05-16 20:18:00 -0700 (Thu, 16 May 2013)

Log Message

Fix Analyze ChangeLog's entry processing
https://bugs.webkit.org/show_bug.cgi?id=116219

Patch by Peter Gal <galpe...@inf.u-szeged.hu> on 2013-05-16
Reviewed by Ryosuke Niwa.

* Scripts/webkitpy/tool/commands/analyzechangelog.py:
(ChangeLogAnalyzer._analyze_entries): Fix the counter initialization.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (150236 => 150237)


--- trunk/Tools/ChangeLog	2013-05-17 03:17:23 UTC (rev 150236)
+++ trunk/Tools/ChangeLog	2013-05-17 03:18:00 UTC (rev 150237)
@@ -1,3 +1,13 @@
+2013-05-16  Peter Gal  <galpe...@inf.u-szeged.hu>
+
+        Fix Analyze ChangeLog's entry processing
+        https://bugs.webkit.org/show_bug.cgi?id=116219
+
+        Reviewed by Ryosuke Niwa.
+
+        * Scripts/webkitpy/tool/commands/analyzechangelog.py:
+        (ChangeLogAnalyzer._analyze_entries): Fix the counter initialization.
+
 2013-05-16  Hyungchan Kim  <hyungchan2....@lge.com>
 
         [Qt] UrlLoader::loadNext is broken in MiniBrowser

Modified: trunk/Tools/Scripts/webkitpy/tool/commands/analyzechangelog.py (150236 => 150237)


--- trunk/Tools/Scripts/webkitpy/tool/commands/analyzechangelog.py	2013-05-17 03:17:23 UTC (rev 150236)
+++ trunk/Tools/Scripts/webkitpy/tool/commands/analyzechangelog.py	2013-05-17 03:18:00 UTC (rev 150237)
@@ -180,6 +180,7 @@
 
     def _analyze_entries(self, entries, changelog_path):
         dirname = self._filesystem.dirname(changelog_path)
+        i = 0
         for i, entry in enumerate(entries):
             self._print_status('(%s) entries' % i)
             assert(entry.authors())
@@ -201,6 +202,5 @@
 
             self._summary['reviewed' if reviewers_for_entry else 'unreviewed'] += 1
 
-            i += 1
         self._print_status('(%s) entries' % i)
         return i
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to