(self, value, yes="X", no=" ")
return str(res)
Format a boolean value into a fixed length ASCII (iso-8859-1) record.
Format a boolean value into a fixed length ASCII (iso-8859-1) record.
Format a boolean value into a fixed length ASCII ( iso - 8859 - 1 ) record .
def _format_boolean(self, value, yes="X", no=" "):
        """Format a boolean value into a fixed length ASCII (iso-8859-1) record."""
        res = value and yes or no
        # Return the string assuring that is not unicode
        return str(res)
def _format_boolean ( self , value , yes = "X" , no = " " ) : res = value and yes or no # Return the string assuring that is not unicode return str ( res )