Skip to content

Commit f318473

Browse files
Hide unneeded warnings, they are only for debug.
1 parent 0b0e028 commit f318473

4 files changed

Lines changed: 7 additions & 9 deletions

File tree

python/mmSolver/_api/solverstandard.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,8 +1336,6 @@ def compile(self, col, mkr_list, attr_list, withtest=False):
13361336
verbose = True
13371337
precomputed_data = self.get_precomputed_data()
13381338

1339-
LOG.warn('eval_object_relationships=%r', eval_object_relationships)
1340-
13411339
# Pre-calculate the 'affects' relationship.
13421340
if eval_object_relationships is True:
13431341
generator = solverutils.compile_solver_affects(

python/mmSolver/tools/solver/widget/solver_basic_widget.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ def setEvalComplexGraphsValue(self, col, value):
133133

134134
def event(self, ev):
135135
if ev.type() == QtCore.QEvent.WindowActivate:
136-
LOG.warn('window activated')
136+
LOG.debug('window activated')
137137
self.updateObjectRelationshipsWidgets()
138138
return super(SolverBasicWidget, self).event(ev)
139139

140140
def updateObjectRelationshipsWidgets(self):
141-
LOG.warn('updateObjectRelationshipsWidgets')
141+
LOG.debug('updateObjectRelationshipsWidgets')
142142
allow_obj_relations = _getAllowObjectRelations()
143143
self.evalObjectRelationships_checkBox.setEnabled(allow_obj_relations)
144144

python/mmSolver/tools/solver/widget/solver_standard_widget.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,12 @@ def setEvalComplexGraphsValue(self, col, value):
174174

175175
def event(self, ev):
176176
if ev.type() == QtCore.QEvent.WindowActivate:
177-
LOG.warn('window activated')
177+
LOG.debug('window activated')
178178
self.updateObjectRelationshipsWidgets()
179179
return super(SolverStandardWidget, self).event(ev)
180180

181181
def updateObjectRelationshipsWidgets(self):
182-
LOG.warn('updateObjectRelationshipsWidgets')
182+
LOG.debug('updateObjectRelationshipsWidgets')
183183
allow_obj_relations = _getAllowObjectRelations()
184184
self.evalObjectRelationships_checkBox.setEnabled(allow_obj_relations)
185185

python/mmSolver/tools/solver/widget/solver_widget.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def __init__(self, parent=None, *args, **kwargs):
112112
self.createConnections()
113113

114114
e = time.time()
115-
LOG.warn('SolverWidget init: %r seconds', e - s)
115+
LOG.debug('SolverWidget init: %r seconds', e - s)
116116
return
117117

118118
def createConnections(self):
@@ -139,7 +139,7 @@ def setSolverTabValue(self, col, value):
139139

140140
def event(self, ev):
141141
if ev.type() == QtCore.QEvent.WindowActivate:
142-
LOG.warn('window was activated')
142+
LOG.debug('window was activated')
143143
self.updateValidationWidgets()
144144
return super(SolverWidget, self).event(ev)
145145

@@ -195,7 +195,7 @@ def updateModel(self):
195195
return
196196

197197
def updateValidationWidgets(self):
198-
LOG.warn('updateValidationWidgets')
198+
LOG.debug('updateValidationWidgets')
199199

200200
# Show the validate button?
201201
visible = _getShowValidateButton()

0 commit comments

Comments
 (0)