Skip to content

Commit

Permalink
code test
Browse files Browse the repository at this point in the history
  • Loading branch information
liangxin1300 committed Dec 10, 2019
1 parent 8023fe8 commit 0305d48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion crmsh/cibconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -3231,7 +3231,8 @@ def filter_objects(self, filters):
continue
if spec == "changed":
obj_set |= orderedset.oset(self.modified_elems())
obj_set |= orderedset.oset(self.remove_queue)
if "from_show" in filters:
obj_set |= orderedset.oset(self.remove_queue)
elif spec.startswith("type:"):
obj_set |= orderedset.oset(self.get_elems_on_type(spec))
elif spec.startswith("tag:"):
Expand Down
2 changes: 1 addition & 1 deletion crmsh/ui_configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def do_show(self, context, *args):
osargs = [arg[8:] for arg in args if arg.startswith('obscure:')]
args = [arg for arg in args if not arg.startswith('obscure:')]
with obscure(osargs):
set_obj = mkset_obj(*args)
set_obj = mkset_obj(*args, "from_show")
return set_obj.show()

@command.name("get_property")
Expand Down

0 comments on commit 0305d48

Please sign in to comment.