Show More
@@ -13,7 +13,6 b' from __future__ import absolute_import' | |||||
13 |
|
13 | |||
14 | from . import ( |
|
14 | from . import ( | |
15 | commands, |
|
15 | commands, | |
16 | configitems, |
|
|||
17 | extensions, |
|
16 | extensions, | |
18 | fileset as filesetmod, |
|
17 | fileset as filesetmod, | |
19 | registrar, |
|
18 | registrar, | |
@@ -54,12 +53,7 b' class exthelper(object):' | |||||
54 | self.command._doregister = _newdoregister |
|
53 | self.command._doregister = _newdoregister | |
55 |
|
54 | |||
56 | self.configtable = {} |
|
55 | self.configtable = {} | |
57 |
self. |
|
56 | self.configitem = registrar.configitem(self.configtable) | |
58 |
|
||||
59 | def configitem(self, section, config, default=configitems.dynamicdefault): |
|
|||
60 | """Register a config item. |
|
|||
61 | """ |
|
|||
62 | self._configitem(section, config, default=default) |
|
|||
63 |
|
57 | |||
64 | def merge(self, other): |
|
58 | def merge(self, other): | |
65 | self._uicallables.extend(other._uicallables) |
|
59 | self._uicallables.extend(other._uicallables) |
General Comments 0
You need to be logged in to leave comments.
Login now