mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed Python 2.4 incompatibility introduced in r15249.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -10,7 +10,8 @@ from django.utils.functional import wraps | ||||
| class ProtectedError(IntegrityError): | ||||
|     def __init__(self, msg, protected_objects): | ||||
|         self.protected_objects = protected_objects | ||||
|         super(ProtectedError, self).__init__(msg, protected_objects) | ||||
|         # TODO change this to use super() when we drop Python 2.4 | ||||
|         IntegrityError.__init__(self, msg, protected_objects) | ||||
|  | ||||
|  | ||||
| def CASCADE(collector, field, sub_objs, using): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user