ekmmeters.py
def setContext(self, context_str):
        """ Set context string for serial command.  Private setter.

        Args:
            context_str (str): Command specific string.
        """
        if (len(self.m_context) == 0) and (len(context_str) >= 7):
            if context_str[0:7] != "request":
                ekm_log("Context: " + context_str)
        self.m_context = context_str
def setContext(self, context_str):
        if (len(self.m_context) == 0) and (len(context_str) >= 7):
            if context_str[0:7] != "request":
                ekm_log("Context: " + context_str)
        self.m_context = context_str
def setContext ( self , context_str ) : if ( len ( self . m_context ) == 0 ) and ( len ( context_str ) >= 7 ) : if context_str [ 0 : 7 ] != "request" : ekm_log ( "Context: " + context_str ) self . m_context = context_str
Set context string for serial command.  Private setter.

        Args:
            context_str (str): Command specific string.
Set context string for serial command . Private setter .