BIND 10 trac2967, updated. 753d1c06361fdbd36e2cb56eab48154594142fb3 [2967] fixed an unpythonic emptyness test

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Jun 27 22:48:28 UTC 2013


The branch, trac2967 has been updated
       via  753d1c06361fdbd36e2cb56eab48154594142fb3 (commit)
      from  caa92a75d165ff476a6e655a114b5ac7e16beb54 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 753d1c06361fdbd36e2cb56eab48154594142fb3
Author: Paul Selkirk <pselkirk at isc.org>
Date:   Thu Jun 27 18:48:32 2013 -0400

    [2967] fixed an unpythonic emptyness test

-----------------------------------------------------------------------

Summary of changes:
 src/bin/zonemgr/zonemgr.py.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/bin/zonemgr/zonemgr.py.in b/src/bin/zonemgr/zonemgr.py.in
index 46fc582..879b3ef 100755
--- a/src/bin/zonemgr/zonemgr.py.in
+++ b/src/bin/zonemgr/zonemgr.py.in
@@ -437,7 +437,7 @@ class ZonemgrRefresh:
                 start_event.set()
                 start_event = None
             # If zonemgr has no zone, set timeout to minimum
-            if not len(self._zonemgr_refresh_info):
+            if not self._zonemgr_refresh_info:
                 timeout = self._lowerbound_retry
             else:
                 zone_need_refresh = self._find_need_do_refresh_zone()



More information about the bind10-changes mailing list