From 42f5ccf09799d3e475eb996b023a0daabae49cdb Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Mon, 6 Jan 2014 18:38:58 +0100 Subject: switch to new-style classes entirely There is no reason to use old-style classes beyond laziness. --- wsgitools/adapters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wsgitools/adapters.py') diff --git a/wsgitools/adapters.py b/wsgitools/adapters.py index 6c6bbca..2c7615a 100644 --- a/wsgitools/adapters.py +++ b/wsgitools/adapters.py @@ -16,7 +16,7 @@ except NameError: return it.next() __all__.append("WSGI2to1Adapter") -class WSGI2to1Adapter: +class WSGI2to1Adapter(object): """Adapts an application with an interface that might somewhen be known as WSGI 2.0 to the WSGI 1.0 interface.""" def __init__(self, app): @@ -34,7 +34,7 @@ class WSGI2to1Adapter: return iterable __all__.append("WSGI1to2Adapter") -class WSGI1to2Adapter: +class WSGI1to2Adapter(object): """Adapts a WSGI 1.0 application to something that might somewhen be the WSGI 2.0 interface.""" def __init__(self, app): -- cgit v1.2.3