remove builtin BMZ_DBG. It's not used.
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 15 Sep 2017 18:51:42 +0300
changeset 1805 52daabbb6f90
parent 1804 5a79875b0ed7
child 1806 6b4d0f4f2fbc
remove builtin BMZ_DBG. It's not used.
Beremiz.py
--- a/Beremiz.py	Wed Sep 13 15:39:48 2017 +0300
+++ b/Beremiz.py	Fri Sep 15 18:51:42 2017 +0300
@@ -27,7 +27,6 @@
 import sys
 import getopt
 import time
-import __builtin__
 import util.paths as paths
 
 
@@ -109,10 +108,7 @@
             self.buildpath = args[1]
 
     def CreateApplication(self):
-        if os.path.exists("BEREMIZ_DEBUG"):
-            __builtin__.__dict__["BMZ_DBG"] = True
-        else:
-            __builtin__.__dict__["BMZ_DBG"] = False
+        BMZ_DBG = os.path.exists("BEREMIZ_DEBUG")
 
         global wx
         import wx