Ignore:
Timestamp:
Jan 1, 2010, 8:01:35 PM (15 years ago)
Author:
broder
Message:

Regardless of any success or failure, always remove the build queue
entry when handling a build has completed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dev/invirtibuilder

    r2837 r2838  
    336336
    337337                    db.failed_stage = 'cleaning up'
    338 
    339                 # Finally, now that everything is done, remove the
    340                 # build queue item
    341                 os.unlink(os.path.join(b._QUEUE_DIR, build))
    342338        except:
    343339            db.traceback = traceback.format_exc()
     
    349345            database.session.commit()
    350346
     347            # Finally, now that everything is done, remove the
     348            # build queue item
     349            os.unlink(os.path.join(b._QUEUE_DIR, build))
     350
    351351            reportBuild(db)
    352352
Note: See TracChangeset for help on using the changeset viewer.