[Webkit-unassigned] [Bug 34001] New: check-webkit-style breaks on files with unknown types
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 22 06:35:29 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=34001
Summary: check-webkit-style breaks on files with unknown types
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: petri.latvala at nomovok.com
Reproduction:
1. Edit WebCore/WebCoreSources.bkl
2. Run check-webkit-style
The result after r53675:
Traceback (most recent call last):
File "WebKitTools/Scripts/check-webkit-style", line 94, in <module>
main()
File "WebKitTools/Scripts/check-webkit-style", line 87, in main
style_checker.check_patch(patch)
File
"/home/adrinael/src/git/webkit/WebKitTools/Scripts/webkitpy/style/checker.py",
line 915, in check_patch
self.check_file(file_path, handle_style_error=error_for_patch)
File
"/home/adrinael/src/git/webkit/WebKitTools/Scripts/webkitpy/style/checker.py",
line 883, in check_file
process_file(processor, file_path, handle_style_error)
File
"/home/adrinael/src/git/webkit/WebKitTools/Scripts/webkitpy/style/checker.py",
line 838, in _process_file
processor.process(lines)
AttributeError: 'NoneType' object has no attribute 'process'
This is because dispatcher.dispatch_processor returns None for file_type value
FileType.NONE
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list