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/applications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wsgitools/applications.py') diff --git a/wsgitools/applications.py b/wsgitools/applications.py index 8a02fe8..6b6601b 100644 --- a/wsgitools/applications.py +++ b/wsgitools/applications.py @@ -8,7 +8,7 @@ except NameError: basestring = str __all__.append("StaticContent") -class StaticContent: +class StaticContent(object): """ This wsgi application provides static content on whatever request it receives with method GET or HEAD (content stripped). If not present, a @@ -60,7 +60,7 @@ class StaticContent: return self.content __all__.append("StaticFile") -class StaticFile: +class StaticFile(object): """ This wsgi application provides the content of a static file on whatever request it receives with method GET or HEAD (content stripped). If not -- cgit v1.2.3