Commit 370f2768 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

cfgshell: Remove pylint disable line

Commit 32683096

 removed the use of a private member function. Also
replace '' with "" in one place.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent 915faf72
......@@ -93,8 +93,6 @@ class ConfigShell(cmd.Cmd):
dirs = []
entries = []
if isinstance(obj, objects.ConfigObject):
# pylint: disable=W0212
# yes, we're using a protected member
for name in obj.GetAllSlots():
child = getattr(obj, name, None)
if isinstance(child, (list, dict, tuple, objects.ConfigObject)):
......@@ -119,7 +117,7 @@ class ConfigShell(cmd.Cmd):
configuration is loaded.
if line.startswith("load") or line == 'EOF' or line == "quit":
if line.startswith("load") or line == "EOF" or line == "quit":
return line
if not self.parents or self.cfg is None:
print "No config data loaded"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment