Make sure to raise the exception for WSGI and make the delete method's intent more clear

This commit is contained in:
Joseph Schorr 2014-10-08 13:51:50 -04:00
parent d16fdde528
commit bb9502ee77
2 changed files with 5 additions and 3 deletions

View file

@ -33,8 +33,8 @@ class QueueFile(object):
self.raised_exception = True
for handler in self._exception_handlers:
handler(result)
return
raise result
self._buffer += result
self._total_size += len(result)