diff options
| author | 2020-02-14 22:10:44 +0000 | |
|---|---|---|
| committer | 2020-02-14 22:10:44 +0000 | |
| commit | 34c7e3d9d969c60a3a0e748af746dc0b1a923105 (patch) | |
| tree | f6388702d27c38331ce803d94855d6e03485fbaa | |
| parent | move SpecTypeErro to utils.parse.spec (diff) | |
| signature | ||
exported command specs, spec.%s -> command-spec.%s
| -rw-r--r-- | src/core_modules/command_spec/__init__.py | 3 |
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: |
