def _tuple_from_string(string):
    '''
    Accepts well formed seed string, returns tuple (url:port, key)
    '''
    l = string.split(',')
    if len(l) == 1:
        l.append(None)
    return tuple(l)
dataset/ETHPy150Open OpenBazaar/OpenBazaar-Server/config.py/_tuple_from_string/original