diff options
author | Helmut Grohne <helmut@subdivi.de> | 2014-01-06 18:38:58 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2014-01-06 18:38:58 +0100 |
commit | 42f5ccf09799d3e475eb996b023a0daabae49cdb (patch) | |
tree | 91f7407adf98014a5f5652a94ba4e1f16af3e8d2 /wsgitools/applications.py | |
parent | ed6d6c8f06404489ba2301955c8e6f82f8f4f454 (diff) | |
download | wsgitools-42f5ccf09799d3e475eb996b023a0daabae49cdb.tar.gz |
switch to new-style classes entirely
There is no reason to use old-style classes beyond laziness.
Diffstat (limited to 'wsgitools/applications.py')
-rw-r--r-- | wsgitools/applications.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |