From: Mitchell E Berger Date: Sat, 29 Oct 2011 19:59:49 +0000 (-0400) Subject: Style nit for Quentin X-Git-Tag: 0.0.13^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dns.git/commitdiff_plain/ce5122124980b648e57e45727341299947a161fd?ds=sidebyside Style nit for Quentin --- diff --git a/debian/changelog b/debian/changelog index 20b87e8..1f23e12 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-dns (0.0.13) unstable; urgency=low + + * Style nit for Quentin + + -- Mitchell Berger Sat, 29 Oct 2011 15:59:00 -0400 + invirt-dns (0.0.12) unstable; urgency=low * Teach the DNS server how to delegate. diff --git a/invirt-dns b/invirt-dns index de53e0d..672d1f4 100755 --- a/invirt-dns +++ b/invirt-dns @@ -202,7 +202,7 @@ class DelegatingQuotingBindAuthority(authority.BindAuthority): # check if it's within a subdomain we're supposed to delegate to # some other DNS server. while (isinstance(deferredResult.result, failure.Failure) - and name.find('.') != -1): + and '.' in name): maybeDelegate = True name = name[name.find('.') + 1 :] deferredResult = authority.BindAuthority._lookup(self, name, cls,