A patch from David Malcolm (thanks!) to fix an issue with building the
website.
Michael
-------- Original Message --------
Subject: Missing "mkdir" in build/Makefile for out/community/jobs
Date: Tue, 02 Nov 2010 18:59:54 -0400
From: David Malcolm <[email protected]>
To: [email protected]
On a fresh checkout of https://svn.python.org/www/trunk/beta.python.org,
"make all" fails with:
python2.6 data/community/jobs/jobs2rss.py data/community/jobs/
out/community/jobs
Exception while updating jobs feed (2: No such file or directory)
Traceback (most recent call last):
File "data/community/jobs/jobs2rss.py", line 167, in<module>
sys.exit(main(sys.argv))
File "data/community/jobs/jobs2rss.py", line 157, in main
outfile = open(os.path.join(outpath, 'jobs.rss'),'w')
IOError: [Errno 2] No such file or directory: 'out/community/jobs/jobs.rss'
The attached patch adds lazily creating the 'out/community/jobs' directory.
Index: Makefile
===================================================================
--- Makefile (revision 13452)
+++ Makefile (working copy)
@@ -13,6 +13,7 @@
$(PYTHON) pep2pyramid.py -d ../data/dev/peps/ ; $(PYTHON) pep2rss.py ../data/dev/peps/
jobrss: data/community/jobs/content.ht
+ mkdir -p out/community/jobs
$(PYTHON) data/community/jobs/jobs2rss.py data/community/jobs/ out/community/jobs
@echo job.rss done
_______________________________________________
pydotorg-www mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pydotorg-www