From f3c43ad1fd9556f0fd026a5dfa93c67a5cf186ca Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 19 Nov 2016 21:54:19 +0100 Subject: Refs #23919 -- Removed python_2_unicode_compatible decorator usage --- django/core/files/uploadhandler.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'django/core/files/uploadhandler.py') diff --git a/django/core/files/uploadhandler.py b/django/core/files/uploadhandler.py index 748477c0fc..3741f372b2 100644 --- a/django/core/files/uploadhandler.py +++ b/django/core/files/uploadhandler.py @@ -8,7 +8,6 @@ from django.conf import settings from django.core.files.uploadedfile import ( InMemoryUploadedFile, TemporaryUploadedFile, ) -from django.utils.encoding import python_2_unicode_compatible from django.utils.module_loading import import_string __all__ = [ @@ -25,7 +24,6 @@ class UploadFileException(Exception): pass -@python_2_unicode_compatible class StopUpload(UploadFileException): """ This exception is raised when an upload must abort. -- cgit v1.2.1