

def sanitize(s):
    if (':' in s):
        (address, port) = s.split(':')
        port = int(port)
        return (address, port)
    return address

dataset/ETHPy150Open circuits/circuits/examples/portforward.py sanitize/VarMisuse@48/51 `s`->`address`