Changeset 183


Ignore:
Timestamp:
12/27/05 12:04:38 (18 years ago)
Author:
thauvin
Message:
  • reorder test
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/soft/ObsData/ObsData/Repository.pm

    • Property cvs2svn:cvs-rev changed from 1.63 to 1.64
    r182 r183  
    243243 
    244244        my $oe = ObsData::Event->new('do_archive', "Should I parse $file"); 
     245         
     246        $oe->add_test('archive_exists', 
     247            $self->{status}->SectionExists($orda->{archivefile}) ? 
     248            ("Archive file found in index", 1) : 
     249            ("Archive file not found in index", 0) 
     250        ); 
     251         
    245252        if (defined(my $oldsize = $orda->getvalue('size'))) { 
    246253            my $size = (stat("$orda->{dir}/$orda->{archivefile}"))[7]; 
     
    261268            ); 
    262269        } 
    263          
    264         $oe->add_test('archive_exists', 
    265             $self->{status}->SectionExists($orda->{archivefile}) ? 
    266             ("Archive file found in index", 1) : 
    267             ("Archive file not found in index", 0) 
    268         ); 
    269270         
    270271        $orda->ask_user($oe) or next; 
Note: See TracChangeset for help on using the changeset viewer.