mirror of https://github.com/zulip/zulip.git
Partially apply Python 3 transform libpasteurize.fixes.fix_newstyle
Refer to #256
This commit is contained in:
parent
d3d044ba00
commit
14130a84ca
|
@ -7,7 +7,7 @@ from six.moves import filter
|
||||||
from six.moves import map
|
from six.moves import map
|
||||||
from six.moves import range
|
from six.moves import range
|
||||||
|
|
||||||
class Record:
|
class Record(object):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def validate(fn, check_indent=True):
|
def validate(fn, check_indent=True):
|
||||||
|
|
|
@ -91,7 +91,7 @@ BUFLEN = 8192
|
||||||
VERSION = 'Python Proxy/'+__version__
|
VERSION = 'Python Proxy/'+__version__
|
||||||
HTTPVER = 'HTTP/1.1'
|
HTTPVER = 'HTTP/1.1'
|
||||||
|
|
||||||
class ConnectionHandler:
|
class ConnectionHandler(object):
|
||||||
def __init__(self, connection, address, timeout):
|
def __init__(self, connection, address, timeout):
|
||||||
self.client = connection
|
self.client = connection
|
||||||
self.client_buffer = ''
|
self.client_buffer = ''
|
||||||
|
|
Loading…
Reference in New Issue