2012年11月27日 星期二

[Webkit] KeywordLookupGenerator.py throws error of "expected description ending with @end"

Problem:
Python throw an exception from file KeywordLookupGenerator.py.
According to building log, it run into error at line 79.
I found that is a ending issue.

Solution:

In line 79 of my KeywordLookupGenerator.py:
    if not terminator == "@end"

Change it to:
    if not terminator.rstrip() == "@end"



Reference:
https://lists.webkit.org/pipermail/webkit-unassigned/2011-June/340772.html

沒有留言:

張貼留言