[Python-checkins] peps: Fixes #14215: copy magic yaml file to get a nice <title> for
georg.brandl
python-checkins at python.org
Sun Nov 11 16:43:00 CET 2012
http://hg.python.org/peps/rev/11779150cf87
changeset: 4585:11779150cf87
user: Georg Brandl <georg at python.org>
date: Sun Nov 11 16:42:32 2012 +0100
summary:
Fixes #14215: copy magic yaml file to get a nice <title> for python.org/dev/peps/ index page
files:
pep2pyramid.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/pep2pyramid.py b/pep2pyramid.py
--- a/pep2pyramid.py
+++ b/pep2pyramid.py
@@ -397,6 +397,9 @@
# for PEP 0, copy body to parent directory as well
if pepnum == '0000':
shutil.copyfile(outpath, os.path.join(destDir, '..', 'body.html'))
+ # apparently we need the index.yml as well to generate <title> right
+ shutil.copyfile(os.path.join(destDir, 'index.yml'),
+ os.path.join(destDir, '..', 'index.yml'))
copy_aux_files(inpath, destDir)
return outpath
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list