[Bugs] #2433 UNSP: class Activity should setlocale

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Oct 9 08:50:13 EDT 2010


#2433: class Activity should setlocale
------------------------------------------+---------------------------------
    Reporter:  walter                     |          Owner:  erikos                     
        Type:  enhancement                |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar-toolkit              |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:                             
Status_field:  Unconfirmed                |   Distribution:  Unspecified                
   Seeta_dev:                             |  
------------------------------------------+---------------------------------
 As per #2385, we should set the locale in the activity class so that
 individual activity authors need to do it themselves.

 import locale

     locale.setlocale(locale.LC_ALL, '')

 Probably belongs somewhere in sugar-toolkit/src/sugar/activity/activity.py

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2433>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list