BIND 10 trac2857, updated. a5c4d0ad9dae4bceabac8b85f91ddbddb3ae6871 [2857] Use more common construct
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Aug 26 09:02:04 UTC 2013
The branch, trac2857 has been updated
via a5c4d0ad9dae4bceabac8b85f91ddbddb3ae6871 (commit)
from c7e1ff0338200957269ba996263aac8224987f62 (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 a5c4d0ad9dae4bceabac8b85f91ddbddb3ae6871
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Mon Aug 26 11:00:25 2013 +0200
[2857] Use more common construct
Use for cycle instead of while and eating of the elements from the list.
-----------------------------------------------------------------------
Summary of changes:
src/bin/memmgr/memmgr.py.in | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/memmgr/memmgr.py.in b/src/bin/memmgr/memmgr.py.in
index c71bd10..9141d6b 100755
--- a/src/bin/memmgr/memmgr.py.in
+++ b/src/bin/memmgr/memmgr.py.in
@@ -146,8 +146,7 @@ class Memmgr(BIND10Server):
# not keep the original list.
notifications = self._builder_response_queue[:]
del self._builder_response_queue[:]
- while notifications:
- notification = notifications.pop()
+ for notification in notifications:
notif_name = notification[0]
if notif_name == 'load-completed':
(_, dsrc_info, rrclass, dsrc_name) = notification
More information about the bind10-changes
mailing list