[MERGE] Avoid unnecessarily resolving lazy objects in Registry.get_prefix().
Jelmer Vernooij
jelmer at samba.org
Thu Feb 12 13:55:21 GMT 2009
This patch makes Registry.get_prefix() not load objects until it has found a
key that matches. Registry.get_prefix() is used by the directory services code,
which because of this currently loads all registered directory services, even
if they are not used.
On my system, this means not having to always load some parts of the launchpad
and builddeb plugins including their dependencies (xmlrpc, apt_pkg).
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 2395 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090212/122678b7/attachment.bin
More information about the bazaar
mailing list