[merge][#277048] don't use iteritems on registries
Martin Pool
mbp at canonical.com
Tue Dec 9 00:57:40 GMT 2008
Python doesn't like changing a dictionary while you're iterating it,
and it seems, per <https://bugs.edge.launchpad.net/bzr/+bug/277048>
that this can happen on the transport registry. I'm not sure in
precisely which case it would change the registry, but it probably
depends on dictionary iteration order, and I suspect on us discovering
that some dynamic dependencies are not there. At any rate this patch
seems like a safe fix for it.
--
Martin <http://launchpad.net/~mbp/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20081208-277048-transport-iteritems.diff
Type: text/x-diff
Size: 3758 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081208/eaaac616/attachment.bin
More information about the bazaar
mailing list