[Webkit-unassigned] [Bug 48515] [NRWT] Clear invalid http locks on Windows platform as well

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 2 09:21:01 PDT 2010


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





--- Comment #2 from Peter Gal <galpeter at inf.u-szeged.hu>  2010-11-02 09:21:00 PST ---
> WebKitTools/Scripts/webkitpy/layout_tests/port/http_lock.py:80
> +        elif sys.platform in ('win32'):

I think this isn't really what you wanted. You wanted to check if the sys.platform is in the tuple, but the right side is not a tuple.
So this is the same as this: " sys.platform in 'win32' " which is clearly incorrect.

In this case to create a tuple you should add a trailing comma: ('win32',)

-- 
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