%PDF- %PDF-
| Direktori : /proc/self/root/proc/self/root/lib/mailman/Mailman/ |
| Current File : //proc/self/root/proc/self/root/lib/mailman/Mailman/SafeDict.pyo |
�
��ac @ s\ d Z d d l m Z d d l m Z d Z d e f d � � YZ d e f d � � YZ d S(
s- A `safe' dictionary for string interpolation.i����( t
StringType( t UserDicts , t SafeDictc B s e Z d Z d � Z d � Z RS( s� Dictionary which returns a default value for unknown keys.
This is used in maketext so that editing templates is a bit more robust.
c C sK y | j | SWn5 t k
rF t | t � r: d | d Sd |
Sn Xd S( Ns %(s )ss <Missing key: %s>( t datat KeyErrort
isinstanceR ( t selft key( ( s^ /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/SafeDict.pyt __getitem__ s
c C s | | S( N( ( R t template( ( s^ /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/SafeDict.pyt interpolate( s ( t __name__t
__module__t __doc__R R
( ( ( s^ /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/SafeDict.pyR s t MsgSafeDictc B s&