diff options
author | pjenvey <devnull@localhost> | 2007-01-05 03:18:34 +0000 |
---|---|---|
committer | pjenvey <devnull@localhost> | 2007-01-05 03:18:34 +0000 |
commit | c3489449893fc6facc58dd06a2ea13091d9096fa (patch) | |
tree | 94c8bd85450992880b8796ab592896c56d69e69c /paste/exceptions | |
parent | dc929a2a6569b1ec4d30e5ba4f3741c07c47b4ce (diff) | |
download | paste-c3489449893fc6facc58dd06a2ea13091d9096fa.tar.gz |
convert old-style classes to new-style classes
Diffstat (limited to 'paste/exceptions')
-rw-r--r-- | paste/exceptions/collector.py | 4 | ||||
-rw-r--r-- | paste/exceptions/errormiddleware.py | 2 | ||||
-rw-r--r-- | paste/exceptions/reporter.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/paste/exceptions/collector.py b/paste/exceptions/collector.py index c285452..4eb7c1c 100644 --- a/paste/exceptions/collector.py +++ b/paste/exceptions/collector.py @@ -35,7 +35,7 @@ DEBUG_IDENT_PREFIX = 'E-' __all__ = ['collect_exception', 'ExceptionCollector'] -class ExceptionCollector: +class ExceptionCollector(object): """ Produces a data structure that can be used by formatters to @@ -375,7 +375,7 @@ class ExceptionCollector: limit = 200 -class Bunch: +class Bunch(object): """ A generic container diff --git a/paste/exceptions/errormiddleware.py b/paste/exceptions/errormiddleware.py index d49d71d..def30f9 100644 --- a/paste/exceptions/errormiddleware.py +++ b/paste/exceptions/errormiddleware.py @@ -17,7 +17,7 @@ from paste import request __all__ = ['ErrorMiddleware', 'handle_exception'] -class _NoDefault: +class _NoDefault(object): def __repr__(self): return '<NoDefault>' NoDefault = _NoDefault() diff --git a/paste/exceptions/reporter.py b/paste/exceptions/reporter.py index 3ebebbf..7b1c5dd 100644 --- a/paste/exceptions/reporter.py +++ b/paste/exceptions/reporter.py @@ -7,7 +7,7 @@ import smtplib import time from paste.exceptions import formatter -class Reporter: +class Reporter(object): def __init__(self, **conf): for name, value in conf.items(): |