File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ def __init__(
4141 ):
4242 self ._logger = logging .getLogger (self .__class__ .__name__ )
4343 self ._logger .setLevel (loglevel )
44- self ._string_length_warning_issued = False
4544
4645 self ._parent = parent
4746 super ().__init__ (self ._parent )
@@ -219,13 +218,10 @@ def _update(self):
219218 if value_str and len (value_str ) <= max_length :
220219 label_text = f"{ self ._label_text } \n ({ value_str .strip ()} )"
221220 else :
222- if not self ._string_length_warning_issued :
223- self ._logger .info (
224- "the value string length is greater than "
225- f"{ max_length } and, thus, will not be shown on the GUI"
226- )
227- else :
228- self ._string_length_warning_issued = True
221+ self ._logger .debug (
222+ "the value string length is greater than "
223+ f"{ max_length } and, thus, will not be shown on the GUI"
224+ )
229225 label_text = self ._label_text
230226
231227 self .config (background = color , text = label_text )
Original file line number Diff line number Diff line change 11[project ]
22name = " mats"
3- version = " 0.74.5 "
3+ version = " 0.74.6 "
44description = " Manufacturing Automated Test System, a framework for building device testing quickly and consistently"
55authors = [
66 {name = " Jason R. Jones" , email = " slightlynybbled@gmail.com" },
You can’t perform that action at this time.
0 commit comments