Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed incorrectly printed message on 'buildslave restart'
Don't print 'no old buildslave process found to stop' when old slave process was successfully terminated. Previously stop() returned 'None' when slave was successfully stoped. To restart() it looked like we failed to stop the slave. Broke out the code to stop slave into a new stopSlave() utility function, which will raise an exception if no slave is running. Use stopSlave() from stop() and restart(), handle the exception as appropriate for each case.
- Loading branch information
Elmir Jagudin
committed
Apr 8, 2013
1 parent
d22a54d
commit c7da46f
Showing
2 changed files
with
197 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters