Partially apply Python 3 transform libpasteurize.fixes.fix_newstyle

Refer to #256
This commit is contained in:
Eklavya Sharma 2016-03-11 13:23:44 +05:30
parent d3d044ba00
commit 14130a84ca
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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 = ''