Skip to content

Commit ad19a50

Browse files
author
Mike Dirolf
committed
minor: move current directory to the front of sys.path for doc builds
1 parent 1806a38 commit ad19a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# This file is execfile()d with the current directory set to its containing dir.
66

77
import sys, os
8-
sys.path.append(os.path.abspath('..'))
8+
sys.path[0:0] = [os.path.abspath('..')]
99

1010
import pymongo
1111

0 commit comments

Comments
 (0)