Re: [Cheetahtemplate-discuss] minor bug: __init__.py files written when input is 'file'
Brought to you by:
rtyler,
tavis_rudd
From: Michael H. <ha...@me...> - 2001-12-22 00:04:03
|
Yes, you're right, it is content dependent.... All that has to be in the file is a "#from ... import" line. For example: #from string import strip It isn't just file, it's source also, so this code will produce the __init__ files: from Cheetah.Template import Template t = Template(source="#from string import strip") print t --Mike |