aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bock <nicolasbock@gmail.com>2013-09-30 21:57:16 -0600
committerNicolas Bock <nicolasbock@gmail.com>2013-09-30 21:57:16 -0600
commitdbcfe1b03723acf9c1ec636072b0e1c9a1a9ebdf (patch)
tree006562e4dee0029b1935afd4814ac2062178cb23 /sys-cluster/charm/files
parentsci-chemistry/gamess: Update Manifest (diff)
downloadsci-dbcfe1b03723acf9c1ec636072b0e1c9a1a9ebdf.tar.gz
sci-dbcfe1b03723acf9c1ec636072b0e1c9a1a9ebdf.tar.bz2
sci-dbcfe1b03723acf9c1ec636072b0e1c9a1a9ebdf.zip
sys-cluster/charm-6.5.1-r1: Fix docs with -j1
Docs don't build when using anything more than -j1. Package-Manager: portage-2.2.1
Diffstat (limited to 'sys-cluster/charm/files')
-rw-r--r--sys-cluster/charm/files/charm-6.5.1-fix-navmenuGenerator.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/sys-cluster/charm/files/charm-6.5.1-fix-navmenuGenerator.patch b/sys-cluster/charm/files/charm-6.5.1-fix-navmenuGenerator.patch
new file mode 100644
index 000000000..a19a8dba1
--- /dev/null
+++ b/sys-cluster/charm/files/charm-6.5.1-fix-navmenuGenerator.patch
@@ -0,0 +1,30 @@
+From 8b699f6c49df26b979da397b47c7dc7a099ed6b6 Mon Sep 17 00:00:00 2001
+From: Nicolas Bock <nicolasbock@gmail.com>
+Date: Sat, 28 Sep 2013 07:47:36 -0600
+Subject: [PATCH] Properly test for None return value in navmenuGenerator.py
+
+---
+ doc/navmenuGenerator.py | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/doc/navmenuGenerator.py b/doc/navmenuGenerator.py
+index c10afb5..5e5b97c 100755
+--- a/doc/navmenuGenerator.py
++++ b/doc/navmenuGenerator.py
+@@ -13,7 +13,12 @@ fileName = sys.argv[1];
+ soup = BeautifulSoup(open(fileName), "lxml")
+
+ # Get just the table of contents from the index page
+-toc = soup.find("ul","ChildLinks").extract()
++toc = soup.find("ul","ChildLinks")
++
++if toc == None:
++ sys.exit(0)
++
++toc = toc.extract()
+
+ # Retain only part and chapter titles
+ for sctn in toc.select("li > ul > li > ul"):
+--
+1.8.1.5
+