aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules/command_spec
diff options
context:
space:
mode:
authorGravatar jesopo2020-03-08 14:14:00 +0000
committerGravatar jesopo2020-03-08 14:14:00 +0000
commit49d9cbdb87a40cf58f1997914ca1b5033fcc13b3 (patch)
treef89b4b6d5acc0ec88f6e8b5e7445454c04797d93 /src/core_modules/command_spec
parentadd space between command and usage string (diff)
signature
exports.get_one() -> exports.get()
Diffstat (limited to 'src/core_modules/command_spec')
-rw-r--r--src/core_modules/command_spec/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_modules/command_spec/__init__.py b/src/core_modules/command_spec/__init__.py
index 6a4fd3d8..6345d342 100644
--- a/src/core_modules/command_spec/__init__.py
+++ b/src/core_modules/command_spec/__init__.py
@@ -48,7 +48,7 @@ class Module(ModuleManager.BaseModule):
if argument_type.type in types.TYPES:
func = types.TYPES[argument_type.type]
else:
- func = self.exports.get_one(
+ func = self.exports.get(
"command-spec.%s" % argument_type.type)
if func: