def sendDisconnect(self, reason, desc):
        self.sendPacket(
            MSG_DISCONNECT, struct.pack('>L', reason) + NS(desc) + NS(b''))
        log.msg('Disconnecting with error, code %s\nreason: %s' % (reason,
                                                                   desc))
        self.transport.loseConnection()
Return the pants global config directory.
dataset/ETHPy150Open twisted/twisted/twisted/conch/ssh/transport.py/SSHTransportBase.sendDisconnect--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/base/build_environment.py/get_pants_configdir