Changeset 29579
- Timestamp:
- Oct 27, 2010, 9:40:35 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_checkdependent.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_checkdependent.pl
r29561 r29579 229 229 push @chips, $chip->{class_id}; 230 230 231 if (($chip->{state} =~ /error/) or ($chip->{state} =~ /purged/) or ($chip->{state} =~ /scrubbed/)) { 232 print "chipRun state is $chip->{chip_id} is in state $chip->{state} cannot update\n"; 231 my $state = $chip->{state}; 232 my $data_state = $chip->{data_state}; 233 if (($state =~ /error/) or ($state =~ /purged/) or ($state =~ /scrubbed/) or ($state eq 'drop') or 234 ($data_state =~ /error/) or ($data_state =~ /purged/) or ($data_state =~ /scrubbed/)) { 235 236 print "chipRun state is $chip->{chip_id} has state: $state data_state: $data_state cannot update\n"; 233 237 faultJobs('stop', undef, undef, $PSTAMP_GONE); 238 234 239 return 0; 235 240 } elsif (($chip->{data_state} ne 'update') and ($chip->{data_state} ne 'full')) { 241 236 242 my $command = "$chiptool -setimfiletoupdate -chip_id $chip_id -class_id $chip->{class_id}"; 237 243 $command .= " -set_label $rlabel" if $rlabel;
Note:
See TracChangeset
for help on using the changeset viewer.
