aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar jesopo2020-02-14 22:10:44 +0000
committerGravatar jesopo2020-02-14 22:10:44 +0000
commit34c7e3d9d969c60a3a0e748af746dc0b1a923105 (patch)
treef6388702d27c38331ce803d94855d6e03485fbaa /src
parentmove SpecTypeErro to utils.parse.spec (diff)
signature
exported command specs, spec.%s -> command-spec.%s
Diffstat (limited to 'src')
-rw-r--r--src/core_modules/command_spec/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core_modules/command_spec/__init__.py b/src/core_modules/command_spec/__init__.py
index 85ef6571..d54c433b 100644
--- a/src/core_modules/command_spec/__init__.py
+++ b/src/core_modules/command_spec/__init__.py
@@ -48,7 +48,8 @@ class Module(ModuleManager.BaseModule):
if argument_type.type in types.TYPES:
func = types.TYPES[argument_type.type]
else:
- func = self.exports.get_one("spec.%s" % argument_type.type)
+ func = self.exports.get_one(
+ "command-spec.%s" % argument_type.type)
if func:
try: