--- a/LPCManager.py Thu Oct 04 18:02:50 2012 +0200
+++ b/LPCManager.py Wed Feb 20 18:45:28 2013 +0100
@@ -55,15 +55,15 @@
_base_folder = os.path.split(sys.path[0])[0]
sys.path.append(os.path.join(_base_folder, "beremiz"))
-from util.TranslationCatalogs import AddCatalog, locale
+from util.TranslationCatalogs import AddCatalog
AddCatalog(os.path.join(CWD, "locale"))
if __name__ == '__main__':
# Import module for internationalization
import gettext
- __builtin__.__dict__['loc'] = locale
- __builtin__.__dict__['_'] = wx.GetTranslation
+ #__builtin__.__dict__['_'] = wx.GetTranslation
+ __builtin__.__dict__['_'] = lambda x: x
_base_path = os.path.split(__file__)[0]
import features
@@ -1814,8 +1814,8 @@
if idx != -1:
line = self.Buffer[:idx+1]
self.Buffer = self.Buffer[idx+1:]
- if BMZ_DBG:
- print "command >"+line
+ if True:#BMZ_DBG:
+ print "command >"+line+str(len(line))
return line
return ""