Style nit for Quentin dev prod 0.0.13
authorMitchell E Berger <mitchb@mit.edu>
Sat, 29 Oct 2011 19:59:49 +0000 (15:59 -0400)
committerMitchell E Berger <mitchb@mit.edu>
Sat, 29 Oct 2011 19:59:49 +0000 (15:59 -0400)
debian/changelog
invirt-dns

index 20b87e8..1f23e12 100644 (file)
@@ -1,3 +1,9 @@
+invirt-dns (0.0.13) unstable; urgency=low
+
+  * Style nit for Quentin
+
+ -- Mitchell Berger <mitchb@mit.edu>  Sat, 29 Oct 2011 15:59:00 -0400
+
 invirt-dns (0.0.12) unstable; urgency=low
 
   * Teach the DNS server how to delegate.
index de53e0d..672d1f4 100755 (executable)
@@ -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,