[Python-checkins] r85041 - peps/trunk/genpepindex.py

martin.v.loewis python-checkins at python.org
Mon Sep 27 22:49:32 CEST 2010


Author: martin.v.loewis
Date: Mon Sep 27 22:49:32 2010
New Revision: 85041

Log:
Don't read pep-0000 when generating it.


Modified:
   peps/trunk/genpepindex.py

Modified: peps/trunk/genpepindex.py
==============================================================================
--- peps/trunk/genpepindex.py	(original)
+++ peps/trunk/genpepindex.py	Mon Sep 27 22:49:32 2010
@@ -35,6 +35,8 @@
     peps = []
     if os.path.isdir(path):
         for file_path in os.listdir(path):
+            if file_path == 'pep-0000.txt':
+                continue
             abs_file_path = os.path.join(path, file_path)
             if not os.path.isfile(abs_file_path):
                 continue


More information about the Python-checkins mailing list