Comment 1 for bug 881404

Revision history for this message
atimonin (atimonin) wrote :

I've found a fix, patch is simple (from twisted.protocols import dns -> from twisted.names import dns):

*** ldaptor-find-server 2011-11-02 16:37:08.760499658 +0400
--- ldaptor-find-server.orig 2011-11-02 16:28:22.433147632 +0400
***************
*** 4,10 ****
  from ldaptor.protocols.ldap.distinguishedname import DistinguishedName
  from twisted.internet.defer import DeferredList
  from twisted.internet import reactor
! from twisted.names import dns
  from twisted.names import client

  def printAnswer(answers, dn):
--- 4,10 ----
  from ldaptor.protocols.ldap.distinguishedname import DistinguishedName
  from twisted.internet.defer import DeferredList
  from twisted.internet import reactor
! from twisted.protocols import dns
  from twisted.names import client

  def printAnswer(answers, dn):