X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fdbshow.pl;h=1835ed396afe3469306b209c387acc376645483c;hb=363839f98405239478bbe5a85efad1d679a1c722;hp=10cce96071a593369f30f8da4715551ee671172d;hpb=3611f1e4139c5a70cfbd3f06b20dc3d192e7469d;p=spider.git diff --git a/cmd/dbshow.pl b/cmd/dbshow.pl index 10cce960..1835ed39 100644 --- a/cmd/dbshow.pl +++ b/cmd/dbshow.pl @@ -24,7 +24,7 @@ foreach $n (@db) { if ($db->remote) { # remote databases - unless (DXCluster->get_exact($db->remote) || DXChannel->get($db->remote)) { + unless (Route::Node::get($db->remote) || DXChannel->get($db->remote)) { push @out, $self->msg('db4', uc $name, $db->remote); last; } @@ -41,11 +41,11 @@ foreach $n (@db) { # local databases can chain to remote ones my $count; push @out, $db->print('pre'); - push @out, "@f"; +# push @out, "@f"; for (@f) { - push @out, $db->name . " $_"; - my $value = $db->getkey($_); - push @out, $db->name . ": $_ : $value"; +# push @out, $db->name . " $_"; + my $value = $db->getkey($_) || ""; + push @out, $db->name . ": $_ :"; if ($value) { push @out, split /\n/, $value; $count++;