From: Guido van Rossum Date: Thu, 14 Aug 1997 20:18:18 +0000 (+0000) Subject: Add a separate SRC directory and insert it in front of the path. X-Git-Tag: v1.5a3~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=193a11e3892133eb4afd7557295e5428e34d001e;p=python 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 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)