[PATCH] Fix: don't attempt on-demand import with gobject._gobject as it will fail
Alan Franzoni
mailing at franzoni.eu
Wed Oct 27 10:59:09 CDT 2010
On Wed, Oct 27, 2010 at 5:54 PM, Steve Borho <steve at borho.org> wrote:
> Interesting. I added the 'gtk' module to the black list some time ago
> because of this very problem. Apparently GTK's behavior has changed
> again and broken itself wrt demandimport.
> Approach one:
>
> try:
> from mercurial import demandimport
> demandimport.ignore.append('gobject._gobject')
> except ImportError:
> pass
That's what I did in my python-keyring-lib fork:
https://bitbucket.org/Alan/python-keyring-lib/changeset/1aae1b660c54
I have already submitted the patch to kang and tarek for inclusion in
mainstream keyring module.
--
Alan Franzoni
--
contact me at public@[mysurname].eu
More information about the Mercurial-devel
mailing list