Default hook state and the test suite

John Arbash Meinel john at arbash-meinel.com
Mon Oct 25 17:02:43 BST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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. ;)
> 
> Ciao,
> Gordon

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.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzFqiMACgkQJdeBCYSNAAPvvgCdEFi4pyWblXFxBSBcJo4Fa+E2
CeMAoJKNf2MvfWtu7aVBHFXkapE/HUNH
=AyZ/
-----END PGP SIGNATURE-----



More information about the bazaar mailing list