[Kde-hardware-devel] PyKDE4.solid.Processor.maxSpeed() return 0

Kevin Ottens ervin at kde.org
Fri Apr 17 10:47:19 CEST 2009


On Thursday 16 April 2009 17:33:26 Grissiom wrote:
> I'm using PyKDE4 shipped with KDE4.2.2. When I try to get Cpu's maxSpeed,
> it constantly return 0 which is non-sense. So can somebody confirm is it a
> bug in solid or in the python binding?

It's not a bug in solid or in the python binding. It's just that for some 
hardware/software combinations we currently can't report this information, in 
which case we return 0.

The API documentation was unclear about that though. I just committed an 
apidox change for that.

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20090417/7d9a3f09/attachment.sig 


More information about the Kde-hardware-devel mailing list