[PATCH][BUG] BZR_PLUGIN_PATH='' loads from ~/.bzr.conf/plugins
John A Meinel
john at arbash-meinel.com
Mon Jun 27 16:09:24 BST 2005
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.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050627/b974d5ab/attachment.pgp
More information about the bazaar
mailing list