Changeset 55284 in webkit
- Timestamp:
- Feb 26, 2010 8:19:43 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r55280 r55284 1 2010-02-26 Chris Jerdonek <cjerdonek@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Changed the diff_parser module to log to a module-specific 6 logging.logger rather than the root logger. 7 8 https://bugs.webkit.org/show_bug.cgi?id=35391 9 10 * Scripts/webkitpy/diff_parser.py: 11 1 12 2010-02-26 Csaba Osztrogonác <ossy@webkit.org> 2 13 -
trunk/WebKitTools/Scripts/webkitpy/diff_parser.py
r52739 r55284 32 32 import re 33 33 34 _log = logging.getLogger("webkitpy.diff_parser") 34 35 35 36 _regexp_compile_cache = {} … … 139 140 if lines_changed: 140 141 if state != _DECLARED_FILE_PATH and state != _PROCESSING_CHUNK: 141 logging.error('Unexpected line change without file path declaration: %r' % line) 142 _log.error('Unexpected line change without file path ' 143 'declaration: %r' % line) 142 144 old_diff_line = int(lines_changed.group('OldStartLine')) 143 145 new_diff_line = int(lines_changed.group('NewStartLine')) … … 160 162 pass 161 163 else: 162 logging.error('Unexpected diff format when parsing a chunk: %r' % line) 164 _log.error('Unexpected diff format when parsing a ' 165 'chunk: %r' % line)
Note: See TracChangeset
for help on using the changeset viewer.