From: Thierry Parmentelat Date: Mon, 21 May 2012 14:43:34 +0000 (+0200) Subject: avoid infinite recursion X-Git-Tag: tests-5.1-4~14 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d7b45f4b5ca82b7a5648dc5b0f14b7383e30d315;p=tests.git avoid infinite recursion --- diff --git a/system/Substrate.py b/system/Substrate.py index efbf04c..b222aa7 100644 --- a/system/Substrate.py +++ b/system/Substrate.py @@ -462,7 +462,7 @@ class PlcBox (Box): def reboot (self, options): if not options.soft: - self.reboot(options) + Box.reboot(self,options) else: self.soft_reboot (options) @@ -699,7 +699,7 @@ class QemuBox (Box): def reboot (self, options): if not options.soft: - self.reboot(options) + Box.reboot(options) else: self.run_ssh(['pkill','qemu'],"Killing qemu instances", dry_run=options.dry_run)