diff options
author | ianb <devnull@localhost> | 2006-03-03 23:09:51 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-03-03 23:09:51 +0000 |
commit | 9b3b9ecc916aeeb6240135de36b5f7ae0b36edf9 (patch) | |
tree | d5b8ad014088cfa11e5af0a9f475438034558282 /paste/wsgilib.py | |
parent | fbbf1cb197ad6c1bebca6366cc6f9eb3b7ff12b3 (diff) | |
download | paste-9b3b9ecc916aeeb6240135de36b5f7ae0b36edf9.tar.gz |
don't worry about writing empty strings to wsgi.errors in simulated request
Diffstat (limited to 'paste/wsgilib.py')
-rw-r--r-- | paste/wsgilib.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/paste/wsgilib.py b/paste/wsgilib.py index dc170e3..38086e8 100644 --- a/paste/wsgilib.py +++ b/paste/wsgilib.py @@ -252,6 +252,8 @@ class ErrorRaiser(object): pass def write(self, value): + if not value: + return raise AssertionError( "No errors should be written (got: %r)" % value) |