summaryrefslogtreecommitdiff
path: root/paste/lint.py
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2007-01-05 03:18:34 +0000
committerpjenvey <devnull@localhost>2007-01-05 03:18:34 +0000
commitc3489449893fc6facc58dd06a2ea13091d9096fa (patch)
tree94c8bd85450992880b8796ab592896c56d69e69c /paste/lint.py
parentdc929a2a6569b1ec4d30e5ba4f3741c07c47b4ce (diff)
downloadpaste-c3489449893fc6facc58dd06a2ea13091d9096fa.tar.gz
convert old-style classes to new-style classes
Diffstat (limited to 'paste/lint.py')
-rw-r--r--paste/lint.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/paste/lint.py b/paste/lint.py
index 63c216f..480ab1a 100644
--- a/paste/lint.py
+++ b/paste/lint.py
@@ -177,7 +177,7 @@ def middleware(application, global_conf=None):
return lint_app
-class InputWrapper:
+class InputWrapper(object):
def __init__(self, wsgi_input):
self.input = wsgi_input
@@ -211,7 +211,7 @@ class InputWrapper:
def close(self):
assert 0, "input.close() must not be called"
-class ErrorWrapper:
+class ErrorWrapper(object):
def __init__(self, wsgi_errors):
self.errors = wsgi_errors
@@ -230,7 +230,7 @@ class ErrorWrapper:
def close(self):
assert 0, "errors.close() must not be called"
-class WriteWrapper:
+class WriteWrapper(object):
def __init__(self, wsgi_writer):
self.writer = wsgi_writer
@@ -239,7 +239,7 @@ class WriteWrapper:
assert type(s) is type("")
self.writer(s)
-class PartialIteratorWrapper:
+class PartialIteratorWrapper(object):
def __init__(self, wsgi_iterator):
self.iterator = wsgi_iterator
@@ -248,7 +248,7 @@ class PartialIteratorWrapper:
# We want to make sure __iter__ is called
return IteratorWrapper(self.iterator)
-class IteratorWrapper:
+class IteratorWrapper(object):
def __init__(self, wsgi_iterator, check_start_response):
self.original_iterator = wsgi_iterator