IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 6, 2007, 9:10:14 AM (19 years ago)
Author:
eugene
Message:

change internal state variable to pantaskState (protect from db fields named state)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/diff.pro

    r13892 r14042  
    9595    end
    9696
    97     # delete existing entries in the appropriate states
     97    # delete existing entries in the appropriate pantaskStates
    9898    process_cleanup diffSkyfile
    9999  end
     
    122122    if ($network == 0) break
    123123   
    124     # look for new images in diffSkyfile (state == NULL)
    125     book getpage diffSkyfile 0 -var pageName -key state NULL
     124    # look for new images in diffSkyfile (pantaskState == NULL)
     125    book getpage diffSkyfile 0 -var pageName -key pantaskState NULL
    126126    if ($pageName == NULL) break
    127127
    128     book setword diffSkyfile $pageName state RUN
     128    book setword diffSkyfile $pageName pantaskState RUN
    129129    book getword diffSkyfile $pageName diff_id -var DIFF_ID
    130130    book getword diffSkyfile $pageName workdir -var WORKDIR
     
    175175  task.exit    timeout
    176176    showcommand timeout
    177     book setword diffSkyfile $options:0 state TIMEOUT
     177    book setword diffSkyfile $options:0 pantaskState TIMEOUT
    178178  end
    179179end
Note: See TracChangeset for help on using the changeset viewer.