Changeset 77
- Timestamp:
- 04/15/05 12:28:58 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/togad.py
r74 r77 187 187 check_change = 1 188 188 189 if not jobinfo.has_key( job_id ):190 jobinfo[ job_id ] = { }191 192 189 valinfo = val.split( ' ' ) 193 190 … … 200 197 value = value.split( ';' ) 201 198 202 jobinfo[ job_id ][valname ] = value199 jobinfo[ valname ] = value 203 200 204 201 if check_change: … … 210 207 debug_msg( 0, 'jobinfo for job %s has changed' %job_id ) 211 208 212 def end Element( self, name, attrs):209 def endDocument( self ): 213 210 """When all metrics have gone, check if any jobs have finished""" 214 211 … … 221 218 222 219 self.jobAttrs[ jobid ]['status'] = 'F' 223 self.jobAttrs[ jobid ]['stop_timestamp'] = self.heartbeat220 self.jobAttrs[ jobid ]['stop_timestamp'] = jobinfo['reported'] 224 221 225 222 def jobinfoChanged( self, jobattrs, jobid, jobinfo ):
Note: See TracChangeset
for help on using the changeset viewer.