X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dns.git/blobdiff_plain/854516db26da53a0eda7d28e81084115e1a1a6cc..HEAD:/invirt-dns?ds=sidebyside 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,