#678: [PATCH] Toolbox admi18n is not handling files grouping properly
------------------------------+---------------------------------------------
 Reporter:  roger.demetrescu  |        Owner:  anonymous
     Type:  defect            |       Status:  new      
 Priority:  normal            |    Milestone:  0.9      
Component:  Toolbox           |      Version:           
 Severity:  normal            |   Resolution:           
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by simon):

 flatten() should go to util.

 {{{if type(arg) in (type(()),type([])):}}}

 would be more flexible (and faster) if written as:

 {{{if hasattr(arg, "__iter__"):}}}

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/678>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to