summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-08-11 03:42:55 +0000
committerChris Johns <chrisj@rtems.org>2017-08-11 13:45:57 +1000
commitfeb68323b7eb47129ca999c0b12c8dc0eefd61fd (patch)
tree78749761710e297a227865be6a9cf6eb6ce504ca /common
parentefc29ff31bb604175c48d3ec092e2649eab0f4bd (diff)
downloadrtems-docs-feb68323b7eb47129ca999c0b12c8dc0eefd61fd.tar.bz2
coverpage: Fix repeated entries.
Closes #2865.
Diffstat (limited to 'common')
-rw-r--r--common/waf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/waf.py b/common/waf.py
index 7947829..df32c71 100644
--- a/common/waf.py
+++ b/common/waf.py
@@ -378,17 +378,17 @@ def xml_catalogue(ctx, building):
catalogue = {}
sp = sys.path[:]
for doc in building:
- sys.path.insert(0, top_dir.find_node(doc).abspath())
#
# Import using the imp API so the module is reloaded for us.
#
import imp
+ sys.path = [top_dir.find_node(doc).abspath()]
mf = imp.find_module('conf')
+ sys.path = sp[:]
try:
bconf = imp.load_module('bconf', mf[0], mf[1], mf[2])
finally:
mf[0].close()
- sys.path = sp[:]
catalogue[doc] = {
'title': bconf.project,
'version': str(ctx.env.VERSION),