mercurial/templater.py
changeset 36443 8dbd97aef915
parent 36245 c6ce479f7a28
child 36444 717a279c0c21
--- a/mercurial/templater.py	Sun Feb 25 14:14:33 2018 +0900
+++ b/mercurial/templater.py	Sun Feb 25 12:47:53 2018 +0900
@@ -30,6 +30,9 @@
     util,
 )
 
+class TemplateNotFound(error.Abort):
+    pass
+
 # template parsing
 
 elements = {
@@ -1465,9 +1468,6 @@
     aliases.extend(conf['templatealias'].items())
     return cache, tmap, aliases
 
-class TemplateNotFound(error.Abort):
-    pass
-
 class templater(object):
 
     def __init__(self, filters=None, defaults=None, resources=None,