From 14130a84cade2d91a443e29f077ddc2c89c624b0 Mon Sep 17 00:00:00 2001 From: Eklavya Sharma Date: Fri, 11 Mar 2016 13:23:44 +0530 Subject: [PATCH] Partially apply Python 3 transform libpasteurize.fixes.fix_newstyle Refer to #256 --- tools/check-templates | 2 +- tools/python-proxy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/check-templates b/tools/check-templates index a180cf36ad..8911853a0f 100755 --- a/tools/check-templates +++ b/tools/check-templates @@ -7,7 +7,7 @@ from six.moves import filter from six.moves import map from six.moves import range -class Record: +class Record(object): pass def validate(fn, check_indent=True): diff --git a/tools/python-proxy b/tools/python-proxy index d31d48813a..c748ac7f36 100755 --- a/tools/python-proxy +++ b/tools/python-proxy @@ -91,7 +91,7 @@ BUFLEN = 8192 VERSION = 'Python Proxy/'+__version__ HTTPVER = 'HTTP/1.1' -class ConnectionHandler: +class ConnectionHandler(object): def __init__(self, connection, address, timeout): self.client = connection self.client_buffer = ''