Changeset 139924 in webkit


Ignore:
Timestamp:
Jan 16, 2013 2:08:02 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

check-webkit-style script cannot running in Chinese windows.
https://bugs.webkit.org/show_bug.cgi?id=87548

Patch by Xueqing Huang <huangxueqing@baidu.com> on 2013-01-16
Reviewed by Darin Adler.

  • Scripts/webkitpy/common/system/platforminfo.py:

(PlatformInfo._win_version_tuple_from_cmd):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r139913 r139924  
     12013-01-16  Xueqing Huang  <huangxueqing@baidu.com>
     2
     3        check-webkit-style script cannot running in Chinese windows.
     4        https://bugs.webkit.org/show_bug.cgi?id=87548
     5
     6        Reviewed by Darin Adler.
     7
     8        * Scripts/webkitpy/common/system/platforminfo.py:
     9        (PlatformInfo._win_version_tuple_from_cmd):
     10
    1112013-01-16  Dirk Pranke  <dpranke@chromium.org>
    212
  • trunk/Tools/Scripts/webkitpy/common/system/platforminfo.py

    r132423 r139924  
    156156    def _win_version_tuple_from_cmd(self):
    157157        # Note that this should only ever be called on windows, so this should always work.
    158         ver_output = self._executive.run_command(['cmd', '/c', 'ver'])
     158        ver_output = self._executive.run_command(['cmd', '/c', 'ver'], decode_output=False)
    159159        match_object = re.search(r'(?P<major>\d)\.(?P<minor>\d)\.(?P<build>\d+)', ver_output)
    160160        assert match_object, 'cmd returned an unexpected version string: ' + ver_output
Note: See TracChangeset for help on using the changeset viewer.