Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 193a11e

Browse files
committed
Add a separate SRC directory and insert it in front of the path.
1 parent 1dccdc2 commit 193a11e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Tools/faqwiz/faqw.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
t1 = posix.times()
44
try:
55
FAQDIR = "/usr/people/guido/python/FAQ"
6+
SRCDIR = "/usr/people/guido/python/Tools/faqwiz"
67
import os, sys, time, operator
78
os.chdir(FAQDIR)
8-
sys.path.insert(0, FAQDIR)
9+
sys.path.insert(0, SRCDIR)
910
import faqwiz
1011
except SystemExit, n:
1112
sys.exit(n)

0 commit comments

Comments
 (0)