

def _getAvatar(self, avatarId):
    comp = components.Componentized()
    user = self.userFactory(comp, avatarId)
    sess = self.sessionFactory(comp)
    sess.transportFactory = self.transportFactory
    sess.chainedProtocolFactory = self.chainedProtocolFactory
    comp.setComponent(iconch.IConchUser, comp)
    comp.setComponent(iconch.ISession, sess)
    return user

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/manhole_ssh.py TerminalRealm._getAvatar/VarMisuse@64/89 `user`->`comp`