[pypy-svn] rev 1863 - pypy/trunk/doc/funding/makedoc

tismer at codespeak.net tismer at codespeak.net
Mon Oct 13 19:02:10 CEST 2003


Author: tismer
Date: Mon Oct 13 19:02:06 2003
New Revision: 1863

Modified:
   pypy/trunk/doc/funding/makedoc/makedoc.py
   pypy/trunk/doc/funding/makedoc/prep_part_b.sxw
Log:
formatting, new graph types

Modified: pypy/trunk/doc/funding/makedoc/makedoc.py
==============================================================================
--- pypy/trunk/doc/funding/makedoc/makedoc.py	(original)
+++ pypy/trunk/doc/funding/makedoc/makedoc.py	Mon Oct 13 19:02:06 2003
@@ -168,10 +168,12 @@
             tempfile(name, "w").write(file(os.path.join("..", name)).read())
 
 def copy_binfiles():
+    endings = ".png .gif".split()
     for name in os.listdir(".."):
-        if name.endswith(".png"):
-            # note that we don't clear these
-            file(name, "wb").write(file(os.path.join("..", name), "rb").read())
+        for ending in endings:
+            if name.endswith(ending):
+                # note that we don't clear these
+                file(name, "wb").write(file(os.path.join("..", name), "rb").read())
 
 def create_oo_doc():
     from win32com.client import Dispatch

Modified: pypy/trunk/doc/funding/makedoc/prep_part_b.sxw
==============================================================================
Binary files. No diff available.


More information about the Pypy-commit mailing list