Changeset 27795 for trunk/pstamp/scripts/pstampparse.pl
- Timestamp:
- Apr 28, 2010, 2:18:01 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstampparse.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstampparse.pl
r27783 r27795 536 536 # XXX: this code is repeated in queueGetImageJobs we should encapsulate it in a subroutine and share it 537 537 if ($stage ne 'raw') { 538 # not ready to handle diff update yet. May never support stack539 my $allow_wait_for_update = ( ($stage ne 'stack') and ($stage ne 'diff'));538 # updates for stack stage not supported yet 539 my $allow_wait_for_update = ($stage ne 'stack'); 540 540 my $run_state = $image->{state}; 541 541 my $data_state = $image->{data_state}; … … 548 548 $newState = 'stop'; 549 549 $fault = $PSTAMP_GONE; 550 } elsif ($allow_wait_for_update and 551 (($data_state ne 'full') or ($need_magic and ($image->{magicked} < 0)))) { 550 } elsif (($data_state ne 'full') or ($need_magic and ($image->{magicked} < 0))) { 552 551 if ($stage eq 'chip') { 553 552 my $burntool_state = $image->{burntool_state}; … … 556 555 $fault = $PSTAMP_NOT_AVAILABLE; 557 556 } 557 } 558 if (!$allow_wait_for_update) { 559 print STDERR "wait for update not supported for stage $stage yet\n"; 560 $newState = 'stop'; 561 $fault = $PSTAMP_NOT_AVAILABLE; 558 562 } 559 563 if (!$fault) {
Note:
See TracChangeset
for help on using the changeset viewer.
