# HG changeset patch
# User greg
# Date 1232367080 -3600
# Node ID d7b0b2d8854c05ae1cb8794c74a569f912aae3ac
# Parent  b80d3a84b8bf5df2bf086ccbb68face1ab60a9ad
remove arg : self.runtime when create pluginroot instance in OnOpenProject and OnNewProject method from beremiz class

diff -r b80d3a84b8bf -r d7b0b2d8854c Beremiz.py
--- a/Beremiz.py	Mon Jan 19 10:08:45 2009 +0100
+++ b/Beremiz.py	Mon Jan 19 13:11:20 2009 +0100
@@ -1221,7 +1221,7 @@
             dialog.Destroy()
             config.Write("lastopenedfolder", os.path.dirname(projectpath))
             config.Flush()
-            self.PluginRoot = PluginsRoot(self, self.Log, self.runtime_port)
+            self.PluginRoot = PluginsRoot(self, self.Log)
             res = self.PluginRoot.NewProject(projectpath)
             if not res :
                 self.RefreshAll()
@@ -1244,7 +1244,7 @@
             if os.path.isdir(projectpath):
                 config.Write("lastopenedfolder", os.path.dirname(projectpath))
                 config.Flush()
-                self.PluginRoot = PluginsRoot(self, self.Log, self.runtime_port)
+                self.PluginRoot = PluginsRoot(self, self.Log)
                 result = self.PluginRoot.LoadProject(projectpath)
                 if not result:
                     self.RefreshAll()