mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #18013 -- Use the new 'as' syntax for exceptions.
Thanks Clueless for the initial patch. Note that unittest has been purposely left out (external package only used by Python 2.6).
This commit is contained in:
		| @@ -318,7 +318,7 @@ def load_all_installed_template_libraries(): | ||||
|         for library_name in libraries: | ||||
|             try: | ||||
|                 lib = template.get_library(library_name) | ||||
|             except template.InvalidTemplateLibrary, e: | ||||
|             except template.InvalidTemplateLibrary: | ||||
|                 pass | ||||
|  | ||||
| def get_return_data_type(func_name): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user