Revision adf385c7 tools/cfgshell

b/tools/cfgshell
93 93
    dirs = []
94 94
    entries = []
95 95
    if isinstance(obj, objects.ConfigObject):
96
      for name in obj.__slots__:
96
      # pylint: disable-msg=W0212
97
      # yes, we're using a protected member
98
      for name in obj._all_slots():
97 99
        child = getattr(obj, name, None)
98 100
        if isinstance(child, (list, dict, tuple, objects.ConfigObject)):
99 101
          dirs.append(name)

Also available in: Unified diff