Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.0.X] Fixed #9399 -- Added StopFutureHandlers to export list in fil…

…e handling.

Thanks, George Vilches.

Backport of r9992 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 34b530fce71bc9d3ef811a4dbd183334a1bfb917 1 parent 8baac83
@malcolmt malcolmt authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/core/files/uploadhandler.py
View
4 django/core/files/uploadhandler.py
@@ -13,7 +13,7 @@
__all__ = ['UploadFileException','StopUpload', 'SkipFile', 'FileUploadHandler',
'TemporaryFileUploadHandler', 'MemoryFileUploadHandler',
- 'load_handler']
+ 'load_handler', 'StopFutureHandlers']
class UploadFileException(Exception):
"""
@@ -44,7 +44,7 @@ class SkipFile(UploadFileException):
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

0 comments on commit 34b530f

Please sign in to comment.
Something went wrong with that request. Please try again.