

def __init__(self, session):
    m = re.search('/(\\d+\\.\\d+\\.\\d+\\.\\d+):(\\d+)\\[(\\d+)\\]\\((.*)\\)', session)
    if m:
        self.host = m.group(1)
        self.port = m.group(2)
        self.interest_ops = m.group(3)
        for d in m.group(4).split(','):
            (k, v) = d.split('=')
            self.__dict__[k] = v
    else:
        raise Session.BrokenLine()

dataset/ETHPy150Open francelabs/datafari/debian7/zookeeper/src/contrib/huebrowser/zkui/src/zkui/stats.py Session.__init__/original