beremiz

remove builtin BMZ_DBG. It's not used.

2017-09-15, Andrey Skvortsov
52daabbb6f90
Parents 5a79875b0ed7
Children 6b4d0f4f2fbc
remove builtin BMZ_DBG. It's not used.
  • +1 -5
    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