From 44fa5352360b78696c3d81cafa8e24eaa4f6c3ed Mon Sep 17 00:00:00 2001 From: ianb Date: Fri, 20 Oct 2006 22:08:05 +0000 Subject: A big commit, primarily aesthetic/whitespace in nature. This is the result of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up. --- paste/fixture.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'paste/fixture.py') diff --git a/paste/fixture.py b/paste/fixture.py index e5c7ef0..5a49f41 100644 --- a/paste/fixture.py +++ b/paste/fixture.py @@ -57,6 +57,10 @@ class Dummy_smtplib(object): existing = None def __init__(self, server): + import warnings + warnings.warn( + 'Dummy_smtplib is not maintained and is deprecated', + DeprecationWarning, 2) assert not self.existing, ( "smtplib.SMTP() called again before Dummy_smtplib.existing.reset() " "called.") -- cgit v1.2.1