#2465: [PATCH] tg.util get_partial_dict() doesn't work correctly.
---------------------------+------------------------------------------------
 Reporter:  Tomoyuki Kano  |       Owner:                  
     Type:  defect         |      Status:  new             
 Priority:  high           |   Milestone:  __unclassified__
Component:  TurboGears     |     Version:  2.1             
 Severity:  critical       |    Keywords:                  
---------------------------+------------------------------------------------
 here is a miss understanding of string.lstrip().

 {{{
 >>> from tg.util import get_partial_dict
 >>> get_partial_dict('pre', {'pre.xyz':1, 'pre.pxy': 2, 'pre.erpzyx': 4,
 'xy': 3})
 {'xyz': 1, 'xy': 2, 'zyx': 4}
 >>>
 }}}

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2465>
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.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en

Reply via email to