def disconnect(self, debug=False):

        results                 = build_dict("FAILED", "Unable to Disconnect", {})

        try:
    
            self.m_connection.close()
            results             = build_dict("SUCCESS", "Disconnected", {})
            self.m_status       = "Not Connected"

        except Exception,k:
            err_msg             = "Failed to establish connection with Ex(" + str(k) - ")"
            self.lg("ERROR: " + str(err_msg), 0)
            self.m_status       = "Not Connected"
            results             = build_dict("FAILED", str(err_msg), {})
        # end of try/ex

        return results
    # end of disconnect
dataset/ETHPy150Open GetLevvel/message-simulator/src/rabbit_message_publisher.py/RabbitMessagePublisher.disconnect/operator `+` -> `-`