[PATCH][BUG] BZR_PLUGIN_PATH='' loads from ~/.bzr.conf/plugins
Martin Pool
mbp at sourcefrog.net
Mon Jun 27 07:11:10 BST 2005
On 26 Jun 2005, John A Meinel <john at arbash-meinel.com> wrote:
> The problem is that it is not possible to set the environment variable,
> such that no plugins are loaded. The problem is the code:
>
> bzrpath = os.environ.get('BZR_PLUGIN_PATH')
> if not bzrpath:
> bzrpath = DEFAULT
>
> The problem is that "if not bzrpath" is true both when bzrpath is None,
> and when it is the empty string.
Thanks, taken.
I vaguely recall something about Windows being unable to distinguish
empty and unset environment variables. Is that true?
--
Martin
More information about the bazaar
mailing list