projects
/
invirt/packages/invirt-dns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Style nit for Quentin
[invirt/packages/invirt-dns.git]
/
invirt-dns
diff --git
a/invirt-dns
b/invirt-dns
index
de53e0d
..
672d1f4
100755
(executable)
--- 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)
# 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,
maybeDelegate = True
name = name[name.find('.') + 1 :]
deferredResult = authority.BindAuthority._lookup(self, name, cls,