Changeset 29107

Show
Ignore:
Timestamp:
26.06.2014 10:05:47 (5 years ago)
Author:
kjdon
Message:

this is causing gli to fail when opening up a collection. It tries to run import.pl -xml to get the script args, and this bit was printing 'collection not defined' which screws up the XML parsing. I could either just comment out the print statement or remove the whole else clause. Since I wasn't sure when I put it in if it was needed, I have removed the entire clause.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/import.pl

    r29097 r29107  
    220220 
    221221    $inexport->generate_statistics($pluginfo); 
    222   } else { 
    223       # can this actually happen, or will we have died already before getting here 
    224       print STDERR "collection not defined\n"; 
    225       $inexport->deinit(); 
    226       exit(-1); 
    227   } 
     222  }  
     223 
    228224  $inexport->deinit(); 
    229225}