[py-svn] r21409 - py/dist/py/rest
cfbolz at codespeak.net
cfbolz at codespeak.net
Wed Dec 21 15:31:43 CET 2005
Author: cfbolz
Date: Wed Dec 21 15:31:39 2005
New Revision: 21409
Modified:
py/dist/py/rest/latex.py
Log:
don't overwrite file (even if the content is same)
Modified: py/dist/py/rest/latex.py
==============================================================================
--- py/dist/py/rest/latex.py (original)
+++ py/dist/py/rest/latex.py Wed Dec 21 15:31:39 2005
@@ -89,7 +89,8 @@
if len(rest_sources) > 1:
assert rest not in rest_sources
content = merge_files(rest_sources, pagebreak)
- rest.write(content)
+ if len(rest_sources) > 1:
+ rest.write(content)
sty = configfile.new(ext='sty')
content = create_stylesheet(configfile_dic, path)
sty.write(content)
More information about the pytest-commit
mailing list