From: Adam Glasgall Date: Tue, 17 Jun 2014 01:15:07 +0000 (-0400) Subject: Temporarily package Mitch's hack to make delegation work again X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dns.git/commitdiff_plain/refs/heads/glasgall-dev?ds=sidebyside Temporarily package Mitch's hack to make delegation work again --- diff --git a/debian/changelog b/debian/changelog index 1e721c4..9ba4266 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-dns (0.0.16~glasgall1) precise; urgency=medium + + * Temporarily package Mitch's hack to make delegation work again. + + -- Adam Glasgall Mon, 16 Jun 2014 21:12:24 -0400 + invirt-dns (0.0.15) precise; urgency=low * Updating version for precise migration. diff --git a/invirt-dns b/invirt-dns index c320e51..c6394e6 100755 --- a/invirt-dns +++ b/invirt-dns @@ -214,10 +214,10 @@ class DelegatingQuotingBindAuthority(authority.BindAuthority): # (because we didn't find the name we were asked about). We # leave the 'additional' section as we received it because it # may contain A records for the DNS server we're delegating to. - if maybeDelegate and not isinstance(deferredResult.result, - failure.Failure): - (nsResults, nsAuthority, nsAdditional) = deferredResult.result - deferredResult = defer.succeed(([], nsResults, nsAdditional)) +# if maybeDelegate and not isinstance(deferredResult.result, +# failure.Failure): +# (nsResults, nsAuthority, nsAdditional) = deferredResult.result +# deferredResult = defer.succeed(([], nsResults, nsAdditional)) return deferredResult if '__main__' == __name__: