exported command specs, spec.%s -> command-spec.%s
This commit is contained in:
parent
275f896ed8
commit
34c7e3d9d9
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
if argument_type.type in types.TYPES:
|
if argument_type.type in types.TYPES:
|
||||||
func = types.TYPES[argument_type.type]
|
func = types.TYPES[argument_type.type]
|
||||||
else:
|
else:
|
||||||
func = self.exports.get_one("spec.%s" % argument_type.type)
|
func = self.exports.get_one(
|
||||||
|
"command-spec.%s" % argument_type.type)
|
||||||
|
|
||||||
if func:
|
if func:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue