Commit e6bd8c1c authored by Paul Selkirk's avatar Paul Selkirk
Browse files

[2967] fixed an unpythonic emptyness test

parent 680e7481
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment