[svn] commit: r346 - in /branches/parkinglot/src/bin/msgq: TODO msgq.py
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Dec 3 15:53:43 UTC 2009
Author: mgraff
Date: Thu Dec 3 15:53:42 2009
New Revision: 346
Log:
add TODO, fix a bug with a name that vanishes/does not exist
Added:
branches/parkinglot/src/bin/msgq/TODO
Modified:
branches/parkinglot/src/bin/msgq/msgq.py
Modified: branches/parkinglot/src/bin/msgq/msgq.py
==============================================================================
--- branches/parkinglot/src/bin/msgq/msgq.py (original)
+++ branches/parkinglot/src/bin/msgq/msgq.py Thu Dec 3 15:53:42 2009
@@ -250,7 +250,10 @@
if to == "*":
sockets = self.subs.find(group, instance)
else:
- sockets = [ self.lnames[to] ]
+ if to in self.lnames:
+ sockets = [ self.lnames[to] ]
+ else:
+ return # recipient doesn't exist
msg = self.preparemsg(routing, data)
More information about the bind10-changes
mailing list