Michael Ströder michael at
Thu Aug 14 11:12:41 GMT 2008

Andrew Bartlett wrote:
> On Wed, 2008-08-13 at 14:45 +0200, Michael Ströder wrote:
>>> For example, replace ${CONFIGDN} with ${MMRDN} and rid=3 with rid=
>>> ${RID1} and rid=${RID2}
>> I really wonder why this templating syntax is used instead of simply 
>> relying what Python provides. One could read in a template file and 
>> treat it like a Python string with dict-key formatters.
> This is the syntax historically used in the previous EJS based template
> system, so was carried forward.  It also has the benefit of being quite
> visually unambiguous.

BTW: The Python standard lib also contains support for that template 
format since Python 2.4.

Ciao, Michael.

More information about the samba-technical mailing list