| Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/platforminfo.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/platforminfo.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/platforminfo.py
|
| index 01c8fe50a12c0c38b34d2385f3d7b3ba52a9c787..50b0b31ab566b804e65e6c284dace9475478ab8c 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/platforminfo.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/platforminfo.py
|
| @@ -31,6 +31,7 @@ import sys
|
|
|
|
|
| class PlatformInfo(object):
|
| +
|
| """This class provides a consistent (and mockable) interpretation of
|
| system-specific values (like sys.platform and platform.mac_ver())
|
| to be used by the rest of the webkitpy code base.
|
| @@ -110,7 +111,7 @@ class PlatformInfo(object):
|
| # Note that we return 1 less than the width since writing into the rightmost column
|
| # automatically performs a line feed.
|
| return right - left
|
| - return sys.maxint
|
| + return sys.maxsize
|
| else:
|
| import fcntl
|
| import struct
|
| @@ -119,7 +120,7 @@ class PlatformInfo(object):
|
| _, columns, _, _ = struct.unpack('HHHH', packed)
|
| return columns
|
| except:
|
| - return sys.maxint
|
| + return sys.maxsize
|
|
|
| def linux_distribution(self):
|
| if not self.is_linux():
|
|
|