[LON-CAPA-cvs] cvs: doc /loncapafiles sanitycheck.piml
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 01 Mar 2005 03:40:48 -0000
albertel Mon Feb 28 22:40:48 2005 EDT
Modified files:
/doc/loncapafiles sanitycheck.piml
Log:
- ip address elimination was causing error messages to be thrown
Index: doc/loncapafiles/sanitycheck.piml
diff -u doc/loncapafiles/sanitycheck.piml:1.15 doc/loncapafiles/sanitycheck.piml:1.16
--- doc/loncapafiles/sanitycheck.piml:1.15 Tue May 27 11:44:32 2003
+++ doc/loncapafiles/sanitycheck.piml Mon Feb 28 22:40:47 2005
@@ -2,7 +2,7 @@
"http://lpml.sourceforge.net/DTD/piml.dtd">
<!-- sanitycheck.piml -->
-<!-- $Id: sanitycheck.piml,v 1.15 2003/05/27 15:44:32 matthew Exp $ -->
+<!-- $Id: sanitycheck.piml,v 1.16 2005/03/01 03:40:47 albertel Exp $ -->
<!--
@@ -158,13 +158,12 @@
$dbug=1 if $a[0]=~/\_/;
$dbug=1 if $a[1]=~/\_/;
$dbug=1 if $a[1]=~/\W/;
- $fbug=1 if (@a<5 || @a>6);
+ $fbug=1 if (@a<4 || @a>5);
my $expr='\s.+$';
$sbug=1 if ($a[0] =~ /$expr/ ||
$a[1] =~ /$expr/ ||
$a[2] =~ /$expr/ ||
- $a[3] =~ /$expr/ ||
- $a[4] =~ /$expr/ )
+ $a[3] =~ /$expr/ )
;
}
}
@@ -176,7 +175,7 @@
print "**** ERROR **** <TARGET /> has invalid host id or domain id\n";
}
if ($fbug) {
- print "**** ERROR **** <TARGET /> is lacking 5 or 6 columns for every row\n";
+ print "**** ERROR **** <TARGET /> is lacking 4 or 5 columns for every row\n";
}
if ($sbug) {
print "**** ERROR **** <TARGET /> has illegal whitespace character\n";