Ignore:
Timestamp:
08/21/09 12:43:26 (15 years ago)
Author:
nanardon
Message:
  • fix parsing of empty line
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts/lib/LATMOS/Accounts/Utils.pm

    r377 r379  
    6262        $line =~ /^#/ and next; 
    6363        chomp($line); 
    64         my ($attr, $value) = $line =~ /^\s*(\S+):\s*(.*)\s*$/; 
     64        my ($attr, $value) = $line =~ /^\s*(\S+):\s*(.*)\s*$/ or next; 
    6565        if ($attributes{$attr}) { 
    6666            if (ref $attributes{$attr}) { 
Note: See TracChangeset for help on using the changeset viewer.