IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2011, 9:36:02 AM (15 years ago)
Author:
eugene
Message:

merging changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/ippScripts/scripts/ipp_cleanup.pl

    r30676 r31083  
    130130        $status = 0 unless defined $path_base and $path_base ne "NULL";
    131131
     132        my $poor_quality = $imfile->{quality} > 0;
     133
    132134        # don't clean up unless the data needed to update is available
    133135        # modes goto_purged and goto_scrubbed will remove files even if the config is non-existent
    134136        # goto_scrubbed now requires the config file to not exist.
    135         if ($status) {
     137        if ($status and !$poor_quality) {
    136138            if ($mode eq "goto_cleaned") {
    137139                my $config_file = $ipprc->filename("PPIMAGE.CONFIG", $path_base, $class_id);
     
    19021904
    19031905    foreach my $file (@$files) {
    1904         print STDERR "unlinking $stage $stage_id $file";
     1906        print STDERR "unlinking $stage $stage_id $file\n";
    19051907
    19061908        my $error_code = $ipprc->kill_file($file);
Note: See TracChangeset for help on using the changeset viewer.