diff options
author | ianb <devnull@localhost> | 2006-10-20 22:08:05 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-10-20 22:08:05 +0000 |
commit | 44fa5352360b78696c3d81cafa8e24eaa4f6c3ed (patch) | |
tree | ccde2c446f352cb5344f3c9a40090f12290bf9a7 /paste/fixture.py | |
parent | 9eadab4b64440958f99a2fa1798227bb4a53193c (diff) | |
download | paste-44fa5352360b78696c3d81cafa8e24eaa4f6c3ed.tar.gz |
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.
Diffstat (limited to 'paste/fixture.py')
-rw-r--r-- | paste/fixture.py | 4 |
1 files changed, 4 insertions, 0 deletions
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.") |