#10861 NORM 11.2.0-: Show the lease information in the control panel

Zarro Boogs per Child bugtracker at laptop.org
Fri May 20 07:29:09 EDT 2011


#10861: Show the lease information in the control panel
-----------------------------------+----------------------------------------
           Reporter:  erikos       |       Owner:  erikos                           
               Type:  enhancement  |      Status:  new                              
           Priority:  normal       |   Milestone:  11.2.0-M4                        
          Component:  sugar        |     Version:  Development build as of this date
         Resolution:               |    Keywords:                                   
        Next_action:  review       |    Verified:  0                                
Deployment_affected:               |   Blockedby:                                   
           Blocking:               |  
-----------------------------------+----------------------------------------

Comment(by erikos):

 Anish a few small comments about the patch at:
 http://git.sugarlabs.org/dextrose/mainline/blobs/master/rpms/sugar/Add-
 lease-duration-information-in-about-my-computer.patch

 1) I would make 'Information not available!' and ' days remaining'
 translatable

 2) "encoded_date = str(str.split(lease_file)[3])" maybe add a check here
 if the data is corrupt

 3) I did do "current_date = datetime.today()", but the object
 "current_date" only has the attribute "day" not "days" (this is python
 2.7, maybe when you subtract "expiry_date - current_date).days" you get
 days - I have no machine here with a lease sig to test)

 Let me know what you think about those.

-- 
Ticket URL: <http://dev.laptop.org/ticket/10861#comment:2>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list