Phil Wilson wrote:
> Hi,
> 
>>> Don't hesitate to ask more info
> 
> OK then ;)
> 
> As soon as I do something like:
> 
> import gajim.idlequeue
> gajim.idlequeue = idlequeue.IdleQueue()
> 
> then the atexit code gets registered like this:
> 
> import atexit
> atexit.register(on_exit)
> 
> but I don't want this to happen. Is there another way of importing the
> idlequeue or initialising it that doesn't trigger this event? Like I
> said before, Python is reasonably new to me and I'm not totally sure I
> understand the way packages and objects are referenced.

Indeed this code is automatically done when we import gajim. if you
remove those lines, everything works fine? If so we could move that in
our code.

> I was looking to build my code on top of gajim with no modifications -
> if that turns out to be impossible due to it being too closely tied to
> the interface I'll just write my own.

We're open to change our code so it's possible for you to use our code.

-- 
Yann
_______________________________________________
Gajim-devel mailing list
Gajim-devel@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/gajim-devel

Reply via email to