Merge branch 'master' into develop
This commit is contained in:
commit
e6fef4fb69
1 changed files with 5 additions and 1 deletions
|
|
@ -2517,7 +2517,8 @@ class CmdExamine(ObjManipCommand):
|
||||||
locks_string = " Default"
|
locks_string = " Default"
|
||||||
output["Locks"] = locks_string
|
output["Locks"] = locks_string
|
||||||
# cmdsets
|
# cmdsets
|
||||||
if not (len(obj.cmdset.all()) == 1 and obj.cmdset.current.key == "_EMPTY_CMDSET"):
|
if current_cmdset and not (
|
||||||
|
len(obj.cmdset.all()) == 1 and obj.cmdset.current.key == "_EMPTY_CMDSET"):
|
||||||
# all() returns a 'stack', so make a copy to sort.
|
# all() returns a 'stack', so make a copy to sort.
|
||||||
|
|
||||||
def _format_options(cmdset):
|
def _format_options(cmdset):
|
||||||
|
|
@ -2736,6 +2737,9 @@ class CmdExamine(ObjManipCommand):
|
||||||
account = obj.account
|
account = obj.account
|
||||||
objct = obj
|
objct = obj
|
||||||
|
|
||||||
|
# this is usually handled when a command runs, but when we examine
|
||||||
|
# we may have leftover inherited cmdsets directly after a move etc.
|
||||||
|
obj.cmdset.update()
|
||||||
# using callback to print results whenever function returns.
|
# using callback to print results whenever function returns.
|
||||||
get_and_merge_cmdsets(
|
get_and_merge_cmdsets(
|
||||||
obj, session, account, objct, mergemode, self.raw_string
|
obj, session, account, objct, mergemode, self.raw_string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue