Changeset 99


Ignore:
Timestamp:
04/20/05 10:52:24 (18 years ago)
Author:
bastiaans
Message:

daemon/togad.py:

  • job_nodes entrys now really working
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/togad.py

    r98 r99  
    187187                debug_msg( 6, 'mutateJob(): %s %s' %(action,job_id))
    188188
     189                ids = [ ]
     190
    189191                for valname, value in jobattrs.items():
    190192
     
    220222
    221223                        self.setDatabase( "INSERT INTO jobs ( %s ) VALUES ( %s )" %( insert_col_str, insert_val_str ) )
    222                         self.addJobNodes( job_id, ids )
     224
     225                        if len( ids ) > 0:
     226                                self.addJobNodes( job_id, ids )
    223227
    224228                elif action == 'update':
Note: See TracChangeset for help on using the changeset viewer.