[Cubicweb] Ticket / IProgressAdapter

Carlos Balderas carlos.balderas at gmail.com
Fri Sep 10 17:34:38 CEST 2010


Here is the bundle ....

Any pb please let me know.

Carlos Balderas

On Fri, Sep 10, 2010 at 8:26 AM, Sylvain Thénault <
sylvain.thenault at logilab.fr> wrote:

> 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}
>
> indeed
>
> > If you find this correct, let know to send you a bundle for the
> repository.
>
> perfect
> --
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20100910/b9854065/attachment-0165.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trackerIProgressAdapterforTickets
Type: application/octet-stream
Size: 807 bytes
Desc: not available
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20100910/b9854065/attachment-0252.obj>


More information about the Cubicweb mailing list