From 3d6791fe3e20b9125b999ead87f6dbc91aa24486 Mon Sep 17 00:00:00 2001 From: Steven Hiscocks Date: Sun, 14 Apr 2013 15:57:37 +0100 Subject: [PATCH] ENH: Minor change to action for consistency of execStart/Stop --- server/action.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/server/action.py b/server/action.py index 5fde3ae1..ce9651e8 100644 --- a/server/action.py +++ b/server/action.py @@ -297,10 +297,8 @@ class Action: 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