##// END OF EJS Templates
templater: move specialized exception types to top...
Yuya Nishihara -
r36461:8dbd97ae default
parent child Browse files
Show More
@@ -30,6 +30,9 b' from . import ('
30 util,
30 util,
31 )
31 )
32
32
33 class TemplateNotFound(error.Abort):
34 pass
35
33 # template parsing
36 # template parsing
34
37
35 elements = {
38 elements = {
@@ -1465,9 +1468,6 b' def _readmapfile(mapfile):'
1465 aliases.extend(conf['templatealias'].items())
1468 aliases.extend(conf['templatealias'].items())
1466 return cache, tmap, aliases
1469 return cache, tmap, aliases
1467
1470
1468 class TemplateNotFound(error.Abort):
1469 pass
1470
1471 class templater(object):
1471 class templater(object):
1472
1472
1473 def __init__(self, filters=None, defaults=None, resources=None,
1473 def __init__(self, filters=None, defaults=None, resources=None,
General Comments 0
You need to be logged in to leave comments. Login now