Don't read pep-0000 when generating it.

This commit is contained in:
Martin v. Löwis 2010-09-27 20:49:32 +00:00
parent 8654d1a40f
commit 1a9260da80
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ def main(argv):
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