Revision 32683096 tools/cfgshell
b/tools/cfgshell | ||
---|---|---|
95 | 95 |
if isinstance(obj, objects.ConfigObject): |
96 | 96 |
# pylint: disable=W0212 |
97 | 97 |
# yes, we're using a protected member |
98 |
for name in obj._all_slots():
|
|
98 |
for name in obj.GetAllSlots():
|
|
99 | 99 |
child = getattr(obj, name, None) |
100 | 100 |
if isinstance(child, (list, dict, tuple, objects.ConfigObject)): |
101 | 101 |
dirs.append(name) |
Also available in: Unified diff