##// END OF EJS Templates
exthelper: drop a compatibility shim with '^command' syntax...
Matt Harbison -
r41086:41cd64a8 default
parent child Browse files
Show More
@@ -37,15 +37,6 b' class exthelper(object):'
37 self._duckpunchers = []
37 self._duckpunchers = []
38 self.cmdtable = {}
38 self.cmdtable = {}
39 self.command = registrar.command(self.cmdtable)
39 self.command = registrar.command(self.cmdtable)
40 if '^init' in commands.table:
41 olddoregister = self.command._doregister
42
43 def _newdoregister(self, name, *args, **kwargs):
44 if kwargs.pop('helpbasic', False):
45 name = '^' + name
46 return olddoregister(self, name, *args, **kwargs)
47 self.command._doregister = _newdoregister
48
49 self.configtable = {}
40 self.configtable = {}
50 self.configitem = registrar.configitem(self.configtable)
41 self.configitem = registrar.configitem(self.configtable)
51
42
General Comments 0
You need to be logged in to leave comments. Login now