Skip to content

Commit d649e80

Browse files
committed
qtvcp -simple_widgets: switch python command warning to verbose
too much info unless wanted
1 parent fd50ec8 commit d649e80

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/python/qtvcp/widgets/simple_widgets.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -617,8 +617,8 @@ def python_command(self, state = None):
617617
except AttributeError as e:
618618
LOG.error('({} called exec in error:{}'.format(self.objectName(),e))
619619
LOG.warning(' Command was {}'.format(self.true_python_command))
620-
LOG.warning(' List of objects:')
621-
print(dir(self.QTVCP_INSTANCE_))
620+
LOG.verbose(' List of objects:')
621+
LOG.verbose(dir(self.QTVCP_INSTANCE_))
622622
else:
623623
try:
624624
exec(self.false_python_command, self._globalParameter, self._localsParameter)
@@ -628,8 +628,8 @@ def python_command(self, state = None):
628628
except AttributeError as e:
629629
LOG.error('({} called exec in error:{}'.format(self.objectName(),e))
630630
LOG.warning(' Command was {}'.format(self.false_python_command))
631-
LOG.warning(' List of objects:')
632-
print(dir(self.QTVCP_INSTANCE_))
631+
LOG.verbose(' List of objects:')
632+
LOG.verbose(dir(self.QTVCP_INSTANCE_))
633633

634634
# callback to toggle text when button is toggled
635635
def toggle_text(self, state=None):

0 commit comments

Comments
 (0)