[Webkit-unassigned] [Bug 179520] [Win] version.py: ValueError: Version expected to be string, integer, tuple or list of integers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 9 20:20:35 PST 2017


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

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
5th element of getwindowsversion() is ''. This causes another error.
Should be truncated like sys.getwindowsversion()[0:3].

> ActivePython 2.7.10.12 (ActiveState Software Inc.) based on
> Python 2.7.10 (default, Aug 21 2015, 12:07:58) [MSC v.1500 64 bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>> sys.getwindowsversion()
> sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
> >>> sys.getwindowsversion()[0:3]
> (6, 2, 9200)
> >>>

-- 
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/20171110/8570f58c/attachment.html>


More information about the webkit-unassigned mailing list