diff options
author | pje <pje@571e12c6-e1fa-0310-aee7-ff1267fa46bd> | 2006-06-12 03:49:39 +0000 |
---|---|---|
committer | pje <pje@571e12c6-e1fa-0310-aee7-ff1267fa46bd> | 2006-06-12 03:49:39 +0000 |
commit | f4c188a87b680e260b2658ee51ab31405064526d (patch) | |
tree | 7b5a4b10f637f36ead0d7e69bd7684b3b10f40be /wsgiref/validate.py | |
parent | df3b75e54bcda013090aa745db3ed2ac416976d1 (diff) | |
download | wsgiref-f4c188a87b680e260b2658ee51ab31405064526d.tar.gz |
Merge changes back from the Python trunk. :(
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2185 571e12c6-e1fa-0310-aee7-ff1267fa46bd
Diffstat (limited to 'wsgiref/validate.py')
-rwxr-xr-x | wsgiref/validate.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wsgiref/validate.py b/wsgiref/validate.py index 77b59f8..23ab9f8 100755 --- a/wsgiref/validate.py +++ b/wsgiref/validate.py @@ -252,7 +252,7 @@ class PartialIteratorWrapper: def __iter__(self): # We want to make sure __iter__ is called - return IteratorWrapper(self.iterator) + return IteratorWrapper(self.iterator, None) class IteratorWrapper: @@ -430,4 +430,3 @@ def check_iterator(iterator): assert_(not isinstance(iterator, str), "You should not return a string as your application iterator, " "instead return a single-item list containing that string.") - |