[Docstring-checkins] CVS: web templater.py,1.2,1.3
Status: Pre-Alpha
Brought to you by:
goodger
From: David G. <go...@us...> - 2001-08-23 03:50:24
|
Update of /cvsroot/docstring/web In directory usw-pr-cvs1:/tmp/cvs-serv26590/web Modified Files: templater.py Log Message: updated Index: templater.py =================================================================== RCS file: /cvsroot/docstring/web/templater.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** templater.py 2001/08/04 15:07:26 1.2 --- templater.py 2001/08/23 03:50:21 1.3 *************** *** 85,89 **** return output ! def main(template, path, files): templatetext = open(template).read() templatetext = templatetext.replace("\r\n", "\n").replace("\r", "\n") --- 85,89 ---- return output ! def main(template, path=None, files=None): templatetext = open(template).read() templatetext = templatetext.replace("\r\n", "\n").replace("\r", "\n") |