summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-14 20:18:18 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-14 20:18:18 (GMT)
commit193a11e3892133eb4afd7557295e5428e34d001e (patch)
tree031a45ecceb730c7b76b19b41f4162d7c8c19b2f /Tools
parent1dccdc221c7870309628defcd9d1d0d26692a781 (diff)
downloadcpython-193a11e3892133eb4afd7557295e5428e34d001e.zip
cpython-193a11e3892133eb4afd7557295e5428e34d001e.tar.gz
cpython-193a11e3892133eb4afd7557295e5428e34d001e.tar.bz2
Add a separate SRC directory and insert it in front of the path.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/faqwiz/faqw.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/faqwiz/faqw.py b/Tools/faqwiz/faqw.py
index 0597c54..8d5ab09 100755
--- a/Tools/faqwiz/faqw.py
+++ b/Tools/faqwiz/faqw.py
@@ -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)