"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "share/roundup/templates/responsive/detectors/statusauditor.py" between
roundup-1.6.1.tar.gz and roundup-2.0.0.tar.gz

About: Roundup is an highly customisable issue-tracking system with command-line, web and e-mail interfaces (written in Python).

statusauditor.py  (roundup-1.6.1):statusauditor.py  (roundup-2.0.0)
def preset_new(db, cl, nodeid, newvalues): def preset_new(db, cl, nodeid, newvalues):
""" Make sure the status is set on new bugs""" """ Make sure the status is set on new bugs"""
if newvalues.has_key('status') and newvalues['status']: if 'status' in newvalues and newvalues['status']:
return return
new = db.status.lookup('new') new = db.status.lookup('new')
newvalues['status'] = new newvalues['status'] = new
def init(db): pass def init(db): pass
# fire before changes are made # fire before changes are made
#db.bug.audit('create', preset_new) #db.bug.audit('create', preset_new)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)