Ignore:
Timestamp:
07/16/13 20:38:34 (11 years ago)
Author:
ramonb
Message:

jobarchived/jobarchived.py:

  • applied fix to exception that occurs when no timeout jobs are found during housekeeping
  • closes #171
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1/jobarchived/jobarchived.py

    r913 r925  
    912912            self.iteration = 0
    913913
    914             for j in timedout_jobs:
    915 
    916                 del self.jobAttrs[ j ]
    917                 del self.jobAttrsSaved[ j ]
     914            if timedout_jobs != None:
     915
     916                for j in timedout_jobs:
     917
     918                    del self.jobAttrs[ j ]
     919                    del self.jobAttrsSaved[ j ]
    918920
    919921        debug_msg( 1, "XML: Start document: iteration %s" %str(self.iteration) )
Note: See TracChangeset for help on using the changeset viewer.