Ejemplo n.º 1
0
    def dump_debug_info(self):
        print "Client version: ", pa.pa_get_library_version()

        print "Server:         ", pa.pa_context_get_server(self._context)
        print "Protocol:       ", pa.pa_context_get_protocol_version(self._context)
        print "Server protocol:", pa.pa_context_get_server_protocol_version(self._context)
        print "Local context:  ", (pa.pa_context_is_local(self._context) and "Yes" or "No")
Ejemplo n.º 2
0
    def dump_debug_info(self):
        print 'Client version: ', pa.pa_get_library_version()

        print 'Server:         ', pa.pa_context_get_server(self._context)
        print 'Protocol:       ', pa.pa_context_get_protocol_version(
            self._context)
        print 'Server protocol:', pa.pa_context_get_server_protocol_version(
            self._context)
        print 'Local context:  ', (
            pa.pa_context_is_local(self._context) and 'Yes' or 'No')
Ejemplo n.º 3
0
    def dump_debug_info(self):
        print 'Client version: ', pa.pa_get_library_version()

        print 'Server:         ', pa.pa_context_get_server(self._context)
        print 'Protocol:       ', pa.pa_context_get_protocol_version(
            self._context)
        print 'Server protocol:', pa.pa_context_get_server_protocol_version(
            self._context)
        print 'Local context:  ', (pa.pa_context_is_local(self._context)
                                   and 'Yes' or 'No')