Show More
@@ -1537,8 +1537,9 b' class templater(object):' | |||||
1537 | raise TemplateNotFound(_('"%s" not in template map') % |
|
1537 | raise TemplateNotFound(_('"%s" not in template map') % | |
1538 | inst.args[0]) |
|
1538 | inst.args[0]) | |
1539 | except IOError as inst: |
|
1539 | except IOError as inst: | |
1540 |
r |
|
1540 | reason = (_('template file %s: %s') | |
1541 |
|
|
1541 | % (self.map[t][1], util.forcebytestr(inst.args[1]))) | |
|
1542 | raise IOError(inst.args[0], encoding.strfromlocal(reason)) | |||
1542 | return self.cache[t] |
|
1543 | return self.cache[t] | |
1543 |
|
1544 | |||
1544 | def render(self, mapping): |
|
1545 | def render(self, mapping): |
General Comments 0
You need to be logged in to leave comments.
Login now