Made get_and_merge_cmdsets visible to default cmds.
This commit is contained in:
parent
d44dd92b5f
commit
c728524c72
1 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ class ExecSystemCommand(Exception):
|
||||||
# Helper function
|
# Helper function
|
||||||
|
|
||||||
@inlineCallbacks
|
@inlineCallbacks
|
||||||
def _get_and_merge_cmdsets(caller):
|
def get_and_merge_cmdsets(caller):
|
||||||
"""
|
"""
|
||||||
Gather all relevant cmdsets and merge them. Note
|
Gather all relevant cmdsets and merge them. Note
|
||||||
that this is only relevant for logged-in callers.
|
that this is only relevant for logged-in callers.
|
||||||
|
|
@ -171,7 +171,7 @@ def cmdhandler(caller, raw_string, testing=False):
|
||||||
try: # catch bugs in cmdhandler itself
|
try: # catch bugs in cmdhandler itself
|
||||||
try: # catch special-type commands
|
try: # catch special-type commands
|
||||||
|
|
||||||
cmdset = yield _get_and_merge_cmdsets(caller)
|
cmdset = yield get_and_merge_cmdsets(caller)
|
||||||
if not cmdset:
|
if not cmdset:
|
||||||
# this is bad and shouldn't happen.
|
# this is bad and shouldn't happen.
|
||||||
raise NoCmdSets
|
raise NoCmdSets
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue