fixed typos
authorEdouard Tisserant
Mon, 21 May 2012 02:49:53 +0200
changeset 737 7b421e080636
parent 736 944e58c00ca5
child 738 413946c04c87
fixed typos
Beremiz.py
ProjectController.py
svgui/svgui.py
--- a/Beremiz.py	Mon May 21 02:01:51 2012 +0200
+++ b/Beremiz.py	Mon May 21 02:49:53 2012 +0200
@@ -149,7 +149,7 @@
     # Load extensions
     for extfilename in extensions:
         sys.path.append(os.path.split(os.path.realpath(extfilename))[0])
-        execfile(a, locals())
+        execfile(extfilename, locals())
 
 import wx.lib.buttons, wx.lib.statbmp
 from util.TextCtrlAutoComplete import TextCtrlAutoComplete
--- a/ProjectController.py	Mon May 21 02:01:51 2012 +0200
+++ b/ProjectController.py	Mon May 21 02:49:53 2012 +0200
@@ -1,7 +1,6 @@
 """
 Beremiz Project Controller 
 """
-
 import os,sys,traceback
 import time
 import features
--- a/svgui/svgui.py	Mon May 21 02:01:51 2012 +0200
+++ b/svgui/svgui.py	Mon May 21 02:49:53 2012 +0200
@@ -4,7 +4,7 @@
 from pyjs import translate
 
 from POULibrary import POULibrary
-from docutils import *
+from docutil import open_svg
 
 class SVGUILibrary(POULibrary):
     def GetLibraryPath(self):