Make sure to raise the exception for WSGI and make the delete method's intent more clear
This commit is contained in:
parent
d16fdde528
commit
bb9502ee77
2 changed files with 5 additions and 3 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue