[Cubicweb] Ticket / IProgressAdapter

Sylvain Thénault sylvain.thenault at logilab.fr
Fri Sep 10 15:26:12 CEST 2010

On 10 septembre 08:02, Carlos Balderas wrote:
> I just made a little changes on progress_info. Here it is.
> def progress_info(self):
>         """returns a dictionary describing load and progress of the
> ticket"""
>         return {'notestimated': 0,
>                 'estimated': self.entity.load,
>                 'done': self.entity.load - self.entity.load_left,
>                 'todo': self.entity.load_left}


> If you find this correct, let know to send you a bundle for the repository.

Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

More information about the Cubicweb mailing list