projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4f9aaa8
)
fix spot filtering where we are looking for US states but there ain't any.
author
minima
<minima>
Mon, 7 Nov 2005 10:13:25 +0000
(10:13 +0000)
committer
minima
<minima>
Mon, 7 Nov 2005 10:13:25 +0000
(10:13 +0000)
Changes
patch
|
blob
|
history
perl/Spot.pm
patch
|
blob
|
history
diff --git
a/Changes
b/Changes
index 5a4b2a4ceba5cd84d7959401db2c9caa8a8a9b8e..78bc3c51cb3bf4af4315ff7cbc537710890bf599 100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-1,3
+1,6
@@
+07Nov05=======================================================================
+1. Fix warnings on filtering spots where the filter was looking at US states
+and there is no US state in the spot.
01Nov05=======================================================================
1. add log2csv.pl for printing out logfiles
25Oct05=======================================================================
01Nov05=======================================================================
1. add log2csv.pl for printing out logfiles
25Oct05=======================================================================
diff --git
a/perl/Spot.pm
b/perl/Spot.pm
index 8972447b7f1116612c6de228d635e879ec124b2f..d14e310eefdff0ef3a35dc1d0cd988902b98d5dd 100644
(file)
--- a/
perl/Spot.pm
+++ b/
perl/Spot.pm
@@
-209,6
+209,9
@@
sub search
my \@a = (Prefix::cty_data(\$s[1]))[1..3];
my \@b = (Prefix::cty_data(\$s[4]))[1..3];
push \@s, \@a[0,1], \@b[0,1], \$a[2], \$a[2];
my \@a = (Prefix::cty_data(\$s[1]))[1..3];
my \@b = (Prefix::cty_data(\$s[4]))[1..3];
push \@s, \@a[0,1], \@b[0,1], \$a[2], \$a[2];
+ } else {
+ \$s[12] ||= ' ';
+ \$s[13] ||= ' ';
}
my (\$filter, \$hops) = \$dxchan->{spotsfilter}->it(\@s);
next unless (\$filter);
}
my (\$filter, \$hops) = \$dxchan->{spotsfilter}->it(\@s);
next unless (\$filter);