On Fri, Oct 09, 2009 at 09:58:14AM +0100, Daniel P. Berrange wrote:
On Fri, Oct 09, 2009 at 10:19:08AM +0200, Dan Kenigsberg wrote:
> On Wed, Oct 07, 2009 at 12:59:39PM +0100, Daniel P. Berrange wrote:
> > On Tue, Oct 06, 2009 at 07:04:29PM +0200, Dan Kenigsberg wrote:
> > > Would someone help me have a shrink-wrapped solution for obtaining
libvirt
> > > events in python?
> >
> > I decided to re-write the demo program so that is shows a serious
> > production kwalitee event loop implementation that can be used in
> > real world applications. I think you'll find this much nicer :-)
>
> It sure look nicer (though I still don't get the hows and whys).
> However, it seems that you have an issue with python's time.time()
> measured in seconds, not milliseconds.
Here's a version with more docs & the time in milliseconds
ACK ! Thanks !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/