summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configshell/node.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/configshell/node.py b/configshell/node.py
index bf5d534..27272d1 100644
--- a/configshell/node.py
+++ b/configshell/node.py
@@ -607,12 +607,12 @@ class ConfigNode(object):
value = group_getter(p_def['name'])
type_method = self.get_type_method(p_def['type'])
value = type_method(value, reverse=True)
- parameter = "%s=%s" % (p_def['name'], value)
+ param = "%s=%s" % (p_def['name'], value)
if p_def['writable'] is False:
- parameter += " [ro]"
- underline2 = ''.ljust(len(parameter), '-')
+ param += " [ro]"
+ underline2 = ''.ljust(len(param), '-')
parameters += '%s\n%s\n%s\n\n' \
- % (parameter, underline2, p_def['description'])
+ % (param, underline2, p_def['description'])
self.shell.con.epy_write('''%s\n%s\n%s\n'''
% (section, underline1, parameters))