summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-13 07:52:40 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-13 07:52:40 +0000
commit460d874ac5b251cb774c14218eefa6dbef7d5c27 (patch)
treed50d62e15fb2117b56e9f75d61c20db2f5f736f9 /perl-install/standalone/harddrake2
parent79dcce57bacc2e825e4dda6f4e234fd4a6875f07 (diff)
downloaddrakx-460d874ac5b251cb774c14218eefa6dbef7d5c27.tar
drakx-460d874ac5b251cb774c14218eefa6dbef7d5c27.tar.gz
drakx-460d874ac5b251cb774c14218eefa6dbef7d5c27.tar.bz2
drakx-460d874ac5b251cb774c14218eefa6dbef7d5c27.tar.xz
drakx-460d874ac5b251cb774c14218eefa6dbef7d5c27.zip
listlength() is obviously just "overhead" for arrays
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-xperl-install/standalone/harddrake22
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 2fbf2ab3e..f33a8cccb 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -206,7 +206,7 @@ foreach (@harddrake::data::tree) {
next if $Ident =~ /PRINTER/ && !$options{PRINTERS_DETECTION};
my @devices = &$detector;
- next unless listlength(@devices); # Skip empty class (no devices)
+ next unless @devices; # Skip empty class (no devices)
my $parent_iter = $tree_model->append_set(undef, [ 0 => gtkcreate_pixbuf($icon), 1 => $title ]);