X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2Fnepi%2Fresources%2Flinux%2Fapplication.py;h=c1de54327265b4b4351172f1f3e7e7bc53a59c3c;hb=914bb8e91ae1ab342a2c4b5d9b33a7ef2b46d63f;hp=92e496063e1ad3ccefd99984a6c1af6623d4ba22;hpb=09ac796bac9aa2c41c5ad830f404fe128fffb22d;p=nepi.git diff --git a/src/nepi/resources/linux/application.py b/src/nepi/resources/linux/application.py index 92e49606..c1de5432 100644 --- a/src/nepi/resources/linux/application.py +++ b/src/nepi/resources/linux/application.py @@ -492,7 +492,7 @@ class LinuxApplication(ResourceManager): if not command: # If no command was given (i.e. Application was used for dependency # installation), then the application is directly marked as FINISHED - super(LinuxApplication, self).do_finished() + super(LinuxApplication, self).do_finish() else: if self.in_foreground: self._run_in_foreground() @@ -633,10 +633,10 @@ class LinuxApplication(ResourceManager): msg = " Failed to execute command '%s'" % self.get("command") err = self._proc.stderr.read() self.error(msg, out, err) - self.fail() + self.do_fail() elif retcode == 0: - self.finish() + self.do_finish() else: # We need to query the status of the command we launched in # background. In order to avoid overwhelming the remote host and @@ -658,9 +658,9 @@ class LinuxApplication(ResourceManager): msg = "Failed to execute command '%s'" % \ self.get("command") self.error(msg, out, err) - self.fail() + self.do_fail() else: - self.finish() + self.do_finish() self._last_state_check = tnow()