Add a separate SRC directory and insert it in front of the path.

This commit is contained in:
Guido van Rossum 1997-08-14 20:18:18 +00:00
parent 1dccdc221c
commit 193a11e389

View file

@ -3,9 +3,10 @@ import posix
t1 = posix.times()
try:
FAQDIR = "/usr/people/guido/python/FAQ"
SRCDIR = "/usr/people/guido/python/Tools/faqwiz"
import os, sys, time, operator
os.chdir(FAQDIR)
sys.path.insert(0, FAQDIR)
sys.path.insert(0, SRCDIR)
import faqwiz
except SystemExit, n:
sys.exit(n)