##// END OF EJS Templates
registrar: unindent superfluous "if True" block
Yuya Nishihara -
r32339:92de09a0 default
parent child Browse files
Show More
@@ -128,15 +128,14 b' class command(_funcregistrarbase):'
128 128
129 129 def _doregister(self, func, name, options=(), synopsis=None,
130 130 norepo=False, optionalrepo=False, inferrepo=False):
131 if True:
132 func.norepo = norepo
133 func.optionalrepo = optionalrepo
134 func.inferrepo = inferrepo
135 if synopsis:
136 self._table[name] = func, list(options), synopsis
137 else:
138 self._table[name] = func, list(options)
139 return func
131 func.norepo = norepo
132 func.optionalrepo = optionalrepo
133 func.inferrepo = inferrepo
134 if synopsis:
135 self._table[name] = func, list(options), synopsis
136 else:
137 self._table[name] = func, list(options)
138 return func
140 139
141 140 class revsetpredicate(_funcregistrarbase):
142 141 """Decorator to register revset predicate
General Comments 0
You need to be logged in to leave comments. Login now