default plugin path
Aaron Bentley
aaron at aaronbentley.com
Tue Jan 27 01:50:19 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Collins wrote:
> recently the bzrlib plugin path for bzrlib users got changed. It used to
> be set by importing bzrlib, now it isn't (but this does /not/ remove the
> plugin path - it just sets it to [sys.modules['bzrlib'].__path__[0] +
> '/plugins']
>
> I'd like to reinstate setting the path at library import time - this
> won't cause plugins to be loaded, but it will set the path correctly.
>
> Any objections?
I object. I don't think that is the right setting. I don't think there
*is* a right setting that applies to all bzrlib clients. Explicit
better than implicit. Resist the temptation to guess.
I don't think clients should have to undo these settings. I don't see a
need for this change, since you get the default path anyway if you call
load_plugins.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkl+aFcACgkQ0F+nu1YWqI0CyQCfZV2BZwinWc8Nv+YHK9MPbD3M
RewAn0HxISP2UnCmhIomnboWyuppFSzz
=Oaqf
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list