Author: mtredinnick
Date: 2009-03-08 04:31:30 -0500 (Sun, 08 Mar 2009)
New Revision: 9992
Modified:
django/trunk/django/core/files/uploadhandler.py
Log:
Fixed #9399 -- Added StopFutureHandlers to export list in file handling.
Thanks, George Vilches.
Modified: django/trunk/django/core/files/uploadhandler.py
===================================================================
--- django/trunk/django/core/files/uploadhandler.py 2009-03-08 05:33:30 UTC
(rev 9991)
+++ django/trunk/django/core/files/uploadhandler.py 2009-03-08 09:31:30 UTC
(rev 9992)
@@ -13,7 +13,7 @@
__all__ = ['UploadFileException','StopUpload', 'SkipFile', 'FileUploadHandler',
'TemporaryFileUploadHandler', 'MemoryFileUploadHandler',
- 'load_handler']
+ 'load_handler', 'StopFutureHandlers']
class UploadFileException(Exception):
"""
@@ -44,7 +44,7 @@
This exception is raised by an upload handler that wants to skip a given
file.
"""
pass
-
+
class StopFutureHandlers(UploadFileException):
"""
Upload handers that have handled a file and do not want future handlers to
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---