- Timestamp:
- Dec 18, 2009 3:41:19 AM (15 years ago)
- Location:
- mergebot/trunk/mergebot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
mergebot/trunk/mergebot/ticket_actions.py
r17 r31 1 1 import socket 2 2 import time 3 from subprocess import c heck_call3 from subprocess import call 4 4 5 5 from genshi.builder import tag … … 66 66 67 67 def start_daemon(self): 68 check_call(['mergebotdaemon', self.env.path]) 68 retval = call(['mergebotdaemon', self.env.path]) 69 if retval: 70 raise Exception('mergebotdaemon failed to start (%s)' % retval) 69 71 time.sleep(1) # bleh 70 72 -
mergebot/trunk/mergebot/web_ui.py
r17 r31 5 5 import os 6 6 import base64 7 from subprocess import c heck_call7 from subprocess import call 8 8 9 9 from trac.core import * … … 96 96 97 97 def start_daemon(self): 98 check_call(['mergebotdaemon', self.env.path]) 98 retval = call(['mergebotdaemon', self.env.path]) 99 if retval: 100 raise Exception('mergebotdaemon failed to start' % retval) 99 101 time.sleep(1) # bleh 100 102
Note: See TracChangeset
for help on using the changeset viewer.