mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Replaced print statement by print function (forward compatibility syntax).
This commit is contained in:
		| @@ -122,9 +122,9 @@ class BoundMethodWeakref(object): | ||||
|                 except Exception as e: | ||||
|                     try: | ||||
|                         traceback.print_exc() | ||||
|                     except AttributeError as err: | ||||
|                         print '''Exception during saferef %s cleanup function %s: %s'''%( | ||||
|                             self, function, e | ||||
|                     except AttributeError: | ||||
|                         print('Exception during saferef %s cleanup function %s: %s' % ( | ||||
|                             self, function, e) | ||||
|                         ) | ||||
|         self.deletionMethods = [onDelete] | ||||
|         self.key = self.calculateKey( target ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user