Ticket #12787: templatefix.patch
File templatefix.patch, 454 bytes (added by , 15 years ago) |
---|
-
loader.py
old new 120 120 try: 121 121 source, display_name = loader(name, dirs) 122 122 return (source, make_origin(display_name, loader, name, dirs)) 123 except TemplateDoesNotExist :124 pass123 except TemplateDoesNotExist as inst: 124 TemplateDoesNotExist(inst) 125 125 raise TemplateDoesNotExist(name) 126 126 127 127 def find_template_source(name, dirs=None):