Skip to content

Commit

Permalink
ENH: Minor change to action for consistency of execStart/Stop
Browse files Browse the repository at this point in the history
  • Loading branch information
kwirk committed Apr 14, 2013
1 parent d259e90 commit 3d6791f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions server/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,8 @@ def __processCmd(self, cmd, aInfo = None):
if not Action.executeCmd(checkCmd):
logSys.error("Invariant check failed. Trying to restore a sane" +
" environment")
stopCmd = Action.replaceTag(self.__actionStop, self.__cInfo)
Action.executeCmd(stopCmd)
startCmd = Action.replaceTag(self.__actionStart, self.__cInfo)
Action.executeCmd(startCmd)
self.execActionStop()
self.execActionStart()
if not Action.executeCmd(checkCmd):
logSys.fatal("Unable to restore environment")
return False
Expand Down

0 comments on commit 3d6791f

Please sign in to comment.