diff options
author | Guido van Rossum <guido@python.org> | 1997-08-14 20:18:18 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-08-14 20:18:18 +0000 |
commit | 193a11e3892133eb4afd7557295e5428e34d001e (patch) | |
tree | 031a45ecceb730c7b76b19b41f4162d7c8c19b2f /Tools/faqwiz/faqw.py | |
parent | 1dccdc221c7870309628defcd9d1d0d26692a781 (diff) | |
download | cpython-git-193a11e3892133eb4afd7557295e5428e34d001e.tar.gz |
Add a separate SRC directory and insert it in front of the path.
Diffstat (limited to 'Tools/faqwiz/faqw.py')
-rwxr-xr-x | Tools/faqwiz/faqw.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/faqwiz/faqw.py b/Tools/faqwiz/faqw.py index 0597c54865..8d5ab09661 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) |