[packagekit] optimize percentage in PackageKitBaseBackend

Mounir Lamouri mounir.lamouri at gmail.com
Fri Jun 26 11:03:21 PDT 2009


Richard Hughes wrote:
> On Fri, Jun 26, 2009 at 4:41 PM, Mounir Lamouri<mounir.lamouri at gmail.com> wrote:
>> I would like to know if it is possible to add this optimization
>> directly into PackageKitBaseBackend. This optimization needs to add a
>> member variable to PackageKitBaseBackend.
> 
> Yes, makes sense. Please do this. Thanks.
> 
> Richard.

Pushed.
By the way, for backend writers, it's better to use an integer when calling
percentage otherwise optimization will be useless.
And, I don't know if it's a bug or a feature but sub-percentage do not manage
None value.

Thanks,
Mounir



More information about the PackageKit mailing list