hwt/simulator/agentConnector.py
def valuesToInts(values):
    """
    Iterable of values to ints (nonvalid = None)
    """
    res = []
    append = res.append
    for d in values:
        if isinstance(d, int):
            append(d)
        else:
            append(valToInt(d))
    return res
def valuesToInts(values):
    """
    Iterable of values to ints (nonvalid = None)
    """
    res = []
    append = res.append
    for d in values:
        if isinstance(d, int):
            append(d)
        else:
            append(valToInt(d))
    return res
def valuesToInts ( values ) : res = [ ] append = res . append for d in values : if isinstance ( d , int ) : append ( d ) else : append ( valToInt ( d ) ) return res
Iterable of values to ints (nonvalid = None)
Iterable of values to ints ( nonvalid = None )