From 5216f3e70aeacc22c2f6afc0f9eac1aa13def2d7 Mon Sep 17 00:00:00 2001 From: Adam Glasgall Date: Mon, 16 Jun 2014 21:15:07 -0400 Subject: [PATCH] Temporarily package Mitch's hack to make delegation work again --- debian/changelog | 6 ++++++ invirt-dns | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) 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__: -- 1.7.9.5