Fix import order in Beremiz.py to prevent wrong translations in internationalization
authorlaurent
Wed, 29 Aug 2012 19:26:40 +0200
changeset 807 17c97fec1164
parent 806 abf1afc1f04d
child 808 6e205c1f05a0
child 809 b86b8898fd52
Fix import order in Beremiz.py to prevent wrong translations in internationalization
Beremiz.py
--- a/Beremiz.py	Mon Aug 27 23:36:57 2012 +0200
+++ b/Beremiz.py	Wed Aug 29 19:26:40 2012 +0200
@@ -157,13 +157,8 @@
         execfile(extfilename, locals())
 
 import wx.lib.buttons, wx.lib.statbmp
-from util.TextCtrlAutoComplete import TextCtrlAutoComplete
 import cPickle
-from util.BrowseValuesLibraryDialog import BrowseValuesLibraryDialog
 import types, time, re, platform, time, traceback, commands
-from ProjectController import ProjectController, MATIEC_ERROR_MODEL, ITEM_CONFNODE
-from util.MiniTextControler import MiniTextControler
-from util.ProcessLogger import ProcessLogger
 
 from docutil import OpenHtmlFrame
 from PLCOpenEditor import IDEFrame, AppendMenu, TITLE, EDITORTOOLBAR, FILEMENU, EDITMENU, DISPLAYMENU, PROJECTTREE, POUINSTANCEVARIABLESPANEL, LIBRARYTREE, SCALING, PAGETITLES 
@@ -171,6 +166,12 @@
 from PLCOpenEditor import EncodeFileSystemPath, DecodeFileSystemPath
 from PLCControler import LOCATION_CONFNODE, LOCATION_MODULE, LOCATION_GROUP, LOCATION_VAR_INPUT, LOCATION_VAR_OUTPUT, LOCATION_VAR_MEMORY, ITEM_PROJECT, ITEM_RESOURCE
 
+from util.TextCtrlAutoComplete import TextCtrlAutoComplete
+from util.BrowseValuesLibraryDialog import BrowseValuesLibraryDialog
+from util.MiniTextControler import MiniTextControler
+from util.ProcessLogger import ProcessLogger
+from ProjectController import ProjectController, MATIEC_ERROR_MODEL, ITEM_CONFNODE
+
 MAX_RECENT_PROJECTS = 10
 
 class GenStaticBitmap(wx.lib.statbmp.GenStaticBitmap):