diff options
author | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2018-06-22 21:05:34 -0400 |
---|---|---|
committer | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2018-06-22 22:44:39 -0400 |
commit | 8c46b67f8e9ac86d7cf71d92c3352ff6b5befa17 (patch) | |
tree | 97958b809223d28ddf76e87306f1dbb2d13092cb /tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/memorizingfile.py | |
parent | 728ebcc932e33b36f0fb76e6e794ef1c1dc15e32 (diff) | |
download | servo-8c46b67f8e9ac86d7cf71d92c3352ff6b5befa17.tar.gz servo-8c46b67f8e9ac86d7cf71d92c3352ff6b5befa17.zip |
Update web-platform-tests to revision 4333a1d2f109795547fc5e22ebfc8481fa649de7
Diffstat (limited to 'tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/memorizingfile.py')
-rw-r--r-- | tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/memorizingfile.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/memorizingfile.py b/tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/memorizingfile.py index a24e7ee3821..07bcbd5876c 100644 --- a/tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/memorizingfile.py +++ b/tests/wpt/web-platform-tests/tools/pywebsocket/mod_pywebsocket/memorizingfile.py @@ -36,9 +36,6 @@ A memorizing file wraps a file and memorizes lines read by readline. """ -import sys - - class MemorizingFile(object): """MemorizingFile wraps a file and memorizes lines read by readline. @@ -48,7 +45,7 @@ class MemorizingFile(object): the control reaches WebSocketRequestHandler. """ - def __init__(self, file_, max_memorized_lines=sys.maxint): + def __init__(self, file_, max_memorized_lines=0x7FFFFFFF): """Construct an instance. Args: |