Fixing alterations to sys.path
Fixes bug 1064249 sys.path should be extended not appended to Change-Id: I3404a50b16b843b47f5082676029a4dd3b03f812
This commit is contained in:
parent
fc1c5a5fd0
commit
387744197e
@ -33,7 +33,7 @@ import os
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
sys.path.append([os.path.abspath('../swift'), os.path.abspath('..'),
|
||||
sys.path.extend([os.path.abspath('../swift'), os.path.abspath('..'),
|
||||
os.path.abspath('../bin')])
|
||||
|
||||
# -- General configuration ----------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user