Show More
@@ -8,6 +8,7 b'' | |||
|
8 | 8 | from __future__ import absolute_import |
|
9 | 9 | |
|
10 | 10 | from . import ( |
|
11 | pycompat, | |
|
11 | 12 | util, |
|
12 | 13 | ) |
|
13 | 14 | |
@@ -121,7 +122,7 b' class revsetpredicate(_funcregistrarbase' | |||
|
121 | 122 | Otherwise, explicit 'revset.loadpredicate()' is needed. |
|
122 | 123 | """ |
|
123 | 124 | _getname = _funcregistrarbase._parsefuncdecl |
|
124 | _docformat = "``%s``\n %s" | |
|
125 | _docformat = pycompat.sysstr("``%s``\n %s") | |
|
125 | 126 | |
|
126 | 127 | def _extrasetup(self, name, func, safe=False, takeorder=False): |
|
127 | 128 | func._safe = safe |
@@ -160,7 +161,7 b' class filesetpredicate(_funcregistrarbas' | |||
|
160 | 161 | Otherwise, explicit 'fileset.loadpredicate()' is needed. |
|
161 | 162 | """ |
|
162 | 163 | _getname = _funcregistrarbase._parsefuncdecl |
|
163 | _docformat = "``%s``\n %s" | |
|
164 | _docformat = pycompat.sysstr("``%s``\n %s") | |
|
164 | 165 | |
|
165 | 166 | def _extrasetup(self, name, func, callstatus=False, callexisting=False): |
|
166 | 167 | func._callstatus = callstatus |
@@ -169,7 +170,7 b' class filesetpredicate(_funcregistrarbas' | |||
|
169 | 170 | class _templateregistrarbase(_funcregistrarbase): |
|
170 | 171 | """Base of decorator to register functions as template specific one |
|
171 | 172 | """ |
|
172 | _docformat = ":%s: %s" | |
|
173 | _docformat = pycompat.sysstr(":%s: %s") | |
|
173 | 174 | |
|
174 | 175 | class templatekeyword(_templateregistrarbase): |
|
175 | 176 | """Decorator to register template keyword |
General Comments 0
You need to be logged in to leave comments.
Login now