"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "share/roundup/templates/devel/detectors/severityauditor.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).

severityauditor.py  (roundup-1.6.1):severityauditor.py  (roundup-2.0.0)
def init_severity(db, cl, nodeid, newvalues): def init_severity(db, cl, nodeid, newvalues):
"""Make sure severity is set on new bugs""" """Make sure severity is set on new bugs"""
if newvalues.has_key('severity') and newvalues['severity']: if 'severity' in newvalues and newvalues['severity']:
return return
normal = db.severity.lookup('normal') normal = db.severity.lookup('normal')
newvalues['severity'] = normal newvalues['severity'] = normal
def init(db): pass def init(db): pass
#db.bug.audit('create', init_severity) #db.bug.audit('create', init_severity)
 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)