Changeset 29107 for main/trunk


Ignore:
Timestamp:
2014-06-26T10:05:47+12:00 (10 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.

File:
1 edited

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}
Note: See TracChangeset for help on using the changeset viewer.