remove unnecessary imports. normalize debug log levels

This commit is contained in:
sliptonic
2019-06-20 10:01:11 -05:00
parent c8e945a3ab
commit 617c619d2f
57 changed files with 173 additions and 182 deletions

View File

@@ -23,7 +23,6 @@
# ***************************************************************************
import FreeCAD
import FreeCADGui
import PathScripts.PathGeom as PathGeom
import PathScripts.PathLog as PathLog
import PySide
@@ -37,7 +36,9 @@ __doc__ = "A collection of helper and utility functions for the Path GUI."
def translate(context, text, disambig=None):
return PySide.QtCore.QCoreApplication.translate(context, text, disambig)
if False:
LOGLEVEL = False
if LOGLEVEL:
PathLog.setLevel(PathLog.Level.DEBUG, PathLog.thisModule())
PathLog.trackModule(PathLog.thisModule())
else: