hgext3rd/topic/__init__.py
changeset 4719 358f548f8d6d
parent 4715 12c8b24757f4
child 4742 db3e7f6b5ceb
--- a/hgext3rd/topic/__init__.py	Tue Jul 09 10:56:42 2019 -0700
+++ b/hgext3rd/topic/__init__.py	Tue Jul 09 10:56:42 2019 -0700
@@ -572,13 +572,13 @@
             listnames=lambda repo: repo.topics))
 
 if post45template:
-    @templatekeyword('topic', requires={'ctx'})
+    @templatekeyword(b'topic', requires={b'ctx'})
     def topickw(context, mapping):
         """:topic: String. The topic of the changeset"""
         ctx = context.resource(mapping, 'ctx')
         return ctx.topic()
 
-    @templatekeyword('topicidx', requires={'ctx'})
+    @templatekeyword(b'topicidx', requires={b'ctx'})
     def topicidxkw(context, mapping):
         """:topicidx: Integer. Index of the changeset as a stack alias"""
         ctx = context.resource(mapping, 'ctx')