[Bio] / Sprout / CustomAttributes.pm Repository:
ViewVC logotype

Diff of /Sprout/CustomAttributes.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22, Tue Apr 10 05:19:20 2007 UTC revision 1.23, Mon Apr 23 06:26:54 2007 UTC
# Line 488  Line 488 
488                  # An ID without a key is a serious error.                  # An ID without a key is a serious error.
489                  my $lines = $retVal->Ask('linesIn');                  my $lines = $retVal->Ask('linesIn');
490                  Confess("Line $lines in $fileName has no attribute key.");                  Confess("Line $lines in $fileName has no attribute key.");
491                } elsif (! @values) {
492                    # A line with no values is not allowed.
493                    my $lines = $retVal->Ask('linesIn');
494                    Trace("Line $lines for key $key has no attribute values.") if T(1);
495                    $retVal->Add(skipped => 1);
496              } else {              } else {
497                  # The key contains a real part and an optional sub-part. We need the real part.                  # The key contains a real part and an optional sub-part. We need the real part.
498                  my ($realKey, $subKey) = $self->SplitKey($key);                  my ($realKey, $subKey) = $self->SplitKey($key);

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3