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