summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configshell/node.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configshell/node.py b/configshell/node.py
index 42ee948..ccfba9f 100644
--- a/configshell/node.py
+++ b/configshell/node.py
@@ -810,7 +810,7 @@ class ConfigNode(object):
# Sort ending numbers numerically, so we get e.g. "lun1, lun2, lun10"
# instead of "lun1, lun10, lun2".
- children = sorted(root.children, key=lambda c: sorting_keys(c))
+ children = sorted(root.children, key=sorting_keys)
line = ""
for pipe in margin[:-1]: