Small patch to keyword extension ('module' object has no attribute '_parse')

Marcin Kasperski Marcin.Kasperski at softax.com.pl
Tue Nov 6 04:51:15 CST 2007


> I mailed you personally, but perhaps the message got spam
> trapped.

No, it was sunk deep below horde of Bugzilla messages.
Plus I live in earlier timezone ;-)

>> b) If you load system libraries, it is not quite so. Here some module
>> loads system dispatch module which does not offer what we want.
>
> I have no such module here.

Of course, this is some 3rd party module. But some mercurial
module (not yours, something from modules your module loads)
has some construct which causes this module to be loaded
if present.

>> (/var/lib/python-support/python2.4/dispatch/ is a directory installed
>> by python-dispatch package,
>> http://packages.debian.org/stable/python/python-dispatch)
>
> Seems to debian specific.

The only 'specific' thing is that I have it installed (not sure why,
btw).  I suspect that similar problems could happen if I had any
python module named dispatch/something.py. Or if I installed
RuleDispatch from http://peak.telecommunity.com/

> Could you do me a favor and test the following patch instead of
> yours?

Works correctly.


----------------------------------------------------------------------
| Marcin Kasperski   |  A reusable framework that is developed by
| http://mekk.waw.pl | itself will probably not be very reusable.
|                    |                  (Martin)
----------------------------------------------------------------------



More information about the Mercurial mailing list