From 6b7a8ff33a6383be4a9dea3c4225d142aab79b78 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:52:44 -0600 Subject: Remove additional unneeded tq method conversions --- knetworkconf/backends/parse.pl.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'knetworkconf/backends/parse.pl.in') diff --git a/knetworkconf/backends/parse.pl.in b/knetworkconf/backends/parse.pl.in index 0a02012..25c9373 100644 --- a/knetworkconf/backends/parse.pl.in +++ b/knetworkconf/backends/parse.pl.in @@ -1451,12 +1451,12 @@ sub gst_parse_xml sub gst_parse_xml_child_names { my ($file, $varpath) = @_; - my ($model, $branch, @tqchildren); + my ($model, $branch, @children); ($model) = &gst_xml_model_scan ($file); $branch = &gst_xml_model_find ($model, $varpath); - if (!$branch) { return @tqchildren; } + if (!$branch) { return @children; } my @list = @$branch; shift @list; # Attributes @@ -1465,7 +1465,7 @@ sub gst_parse_xml_child_names { if ($list [0] ne "__unparsed__" && $list [0] ne "0") { - push @tqchildren, shift @list; + push @children, shift @list; } else { @@ -1475,7 +1475,7 @@ sub gst_parse_xml_child_names shift @list; } - return @tqchildren; + return @children; } sub gst_parse_alchemist @@ -1505,7 +1505,7 @@ sub gst_parse_alchemist_print_option return undef if (!$branch); - $options = &gst_xml_model_get_tqchildren ($branch); + $options = &gst_xml_model_get_children ($branch); foreach $o (@$options) { -- cgit v1.2.1