commit | 193a11e3892133eb4afd7557295e5428e34d001e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 14 20:18:18 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 14 20:18:18 1997 +0000 |
tree | 031a45ecceb730c7b76b19b41f4162d7c8c19b2f | |
parent | 1dccdc221c7870309628defcd9d1d0d26692a781 [diff] [blame] |
Add a separate SRC directory and insert it in front of the path.
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 @@ 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)