From d7b45f4b5ca82b7a5648dc5b0f14b7383e30d315 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 21 May 2012 16:43:34 +0200 Subject: [PATCH] avoid infinite recursion --- system/Substrate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.43.0