[Bulk] Re: Default hook state and the test suite

Gordon Tyler gordon at doxxx.net
Mon Oct 25 17:10:37 BST 2010


On Mon, October 25, 2010 12:02 pm, John Arbash Meinel wrote:
> On 10/25/2010 7:14 AM, Gordon Tyler wrote:
>> On 10/25/2010 4:27 AM, Vincent Ladeuil wrote:
>>> i.e. only the core plugins are covered. It's just a matter of adding
>>> more parameters to the jobs and being to control which *version* of
>>> which plugin is tested (nudge Gordon: that's why I'd prefer to reuse
>>> our
>>> already available bzrlib.config ;-).
>>
>> I used bzrlib.utils.configobj -- that's still in bzrlib. ;)
>>
>> But if you *really* object to raw use of configobj, then I suppose I
>> could rewrite it to use dotted syntax for subsections. But I won't like
>> it. ;)
>
> Except it is explicitly removed from debian-based (so debian and ubuntu
> at least) packaging. The specific request was to use the system packages
> whenever possible. So both configobj and elementtree are stripped out of
> those packages.
>
> So at a minimum you should probably do:
>
> try:
>   import configobj
> except ImportError:
>   from bzrlib.util import configobj
>
> Or something along those lines.

Ah, I see where the confusion is. When I say "raw configobj" I actually
mean bzrlib.util.configobj. That's all I'm using.

Ciao,
Gordon





More information about the bazaar mailing list