]> granicus.if.org Git - python/commitdiff
Add a separate SRC directory and insert it in front of the path.
authorGuido van Rossum <guido@python.org>
Thu, 14 Aug 1997 20:18:18 +0000 (20:18 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 14 Aug 1997 20:18:18 +0000 (20:18 +0000)
Tools/faqwiz/faqw.py

index 0597c54865f5a02674c7c7d7a3cc2ae48e67966d..8d5ab0966105d01fc81773ccc175511e63369561 100755 (executable)
@@ -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)