Changeset 3676

Show
Ignore:
Timestamp:
05/13/08 16:32:23 (6 months ago)
Author:
superafroman
Message:

Added support for validating new tickets (i.e action is not defined in req.args)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ticketvalidatorplugin/0.11/src/ticketvalidator/core.py

    r3665 r3676  
    6565        """Get the state this ticket is going to be in.""" 
    6666         
     67        if 'action' not in req.args: 
     68            return 'new' 
     69         
    6770        action = req.args['action'] 
    6871        action_changes = {}