From 97b810a96a6009ed9b0cbe3533b37c01c97b6e1b Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Mon, 17 Dec 2012 09:59:18 +0100
Subject: [PATCH] erp5testnode: log method is passed now at init time

---
 erp5/util/testnode/SlapOSControler.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/erp5/util/testnode/SlapOSControler.py b/erp5/util/testnode/SlapOSControler.py
index 8c9897344c..0f4f7ece81 100644
--- a/erp5/util/testnode/SlapOSControler.py
+++ b/erp5/util/testnode/SlapOSControler.py
@@ -61,10 +61,9 @@ class SlapOSControler(object):
 
   def initializeSlapOSControler(self, slapproxy_log=None, process_manager=None,
         reset_software=False, software_path_list=None):
-    self.log = log
     self.process_manager = process_manager
     self.software_path_list = software_path_list
-    log('SlapOSControler, initialize, reset_software: %r' % reset_software)
+    self.log('SlapOSControler, initialize, reset_software: %r' % reset_software)
     config = self.config
     slapos_config_dict = self.config.copy()
     slapos_config_dict.update(software_root=self.software_root,
-- 
2.30.9