[Webkit-unassigned] [Bug 171510] check-webkit-style exits with an error while parsing Source/WebKit2/Scripts/webkit/ directory: KeyError: 'st'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 1 20:15:38 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=171510

--- Comment #2 from Daniel Bates <dbates at webkit.org> ---
For some reason the "import parser" line in Source/WebKit2/Scripts/webkit/messages_unittest.py is affecting check-webkit-style. It only seems to affect check-webkit-style when the file that has "import parser" (why?) is style checked before parser.py and when both files are in a subdirectory of the top-level WebKit checkout directory (why?) or outside the WebKit checkout directory (why?). Here is a simple way to reproduce this issue by running the following commands in a Terminal from inside the top-level WebKit checkout directory:

$ mkdir tmp
$ touch tmp/parser.py
$ echo "import parser" > A.py
$ Tools/Scripts/check-webkit-style tmp

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170502/0cd119d1/attachment-0001.html>


More information about the webkit-unassigned mailing list