[Bugs] #1701 URGE: Activity version: Add minor field

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Feb 7 05:02:05 EST 2010


#1701: Activity version: Add minor field
----------------------------+-----------------------------------------------
    Reporter:  erikos       |          Owner:  tomeu            
        Type:  defect       |         Status:  new              
    Priority:  Urgent       |      Milestone:  0.88             
   Component:  sugar        |        Version:  Git as of bugdate
    Severity:  Unspecified  |       Keywords:  r+               
Distribution:  Unspecified  |   Status_field:  New              
----------------------------+-----------------------------------------------
Changes (by tomeu):

  * keywords:  r? => r+


Comment:

 {{{
 +        return '%s %s' % (bundle_id, float(version))
 }}}

 AFAICS, version will be already a float.

 {{{
 +        self._activity_minor_version = 0
 }}}

 Can be just a local variable, as it's not used outside the scope it is
 created.

 {{{
 +
 Decimal(self._activity_minor_version)/10)
 }}}

 Missing spaces around the operator.

 r+ with the obvious changes

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1701#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list