[PATCH][BUG] BZR_PLUGIN_PATH='' loads from ~/.bzr.conf/plugins

Martin Pool mbp at sourcefrog.net
Tue Jun 28 03:32:04 BST 2005


On 27 Jun 2005, John A Meinel <john at arbash-meinel.com> wrote:
> Harald Meland wrote:
> 
> >[John A Meinel]
> >
> >
> >
> >>   bzrpath = os.environ.get('BZR_PLUGIN_PATH')
> >>   if bzrpath is None:
> >>       bzrpath = DEFAULT_PLUGIN_PATH
> >>
> >>
> >
> >Isn't this merely a verbose way of saying:
> >
> > bzrpath = os.environ.get('BZR_PLUGIN_PATH', DEFAULT_PLUGIN_PATH)
> >
> >?
> >
> >
> That is what I thought, but that is how I had it, and Martin changed it.
> So I left it the way he had it, and just fixed the if statement.

There wasn't any particular reason.  I'll clean it up.

-- 
Martin




More information about the bazaar mailing list