Changeset 3730
- Timestamp:
- 05/27/08 22:44:14 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
advancedticketworkflowplugin/0.11/advancedworkflow/controller.py
r3694 r3730 4 4 5 5 import os 6 from subprocess import c heck_call, CalledProcessError6 from subprocess import call 7 7 from genshi.builder import tag 8 8 … … 295 295 """Run the external script""" 296 296 script = os.path.join(self.env.path, 'hooks', action) 297 try: 298 check_call([script, str(ticket.id), req.authname]) 299 except (CalledProcessError, OSError), e: 300 self.env.log.error("External script %r exited: %s." % (script, e)) 297 retval = call([script, str(ticket.id), req.authname]) 298 if retval: 299 self.env.log.error("External script %r exited with return code %s." % (script, retval)) 301 300 302 301 advancedticketworkflowplugin/0.11/setup.py
r3694 r3730 5 5 setup( 6 6 name='AdvancedTicketWorkflowPlugin', 7 version='0. 7',7 version='0.8', 8 8 author = 'Eli Carter', 9 9 author_email = 'elicarter@retracile.net',