diff --git a/Tools/faqwiz/faqw.py b/Tools/faqwiz/faqw.py index 6677bae7157..0597c54865f 100755 --- a/Tools/faqwiz/faqw.py +++ b/Tools/faqwiz/faqw.py @@ -1,11 +1,11 @@ #! /usr/local/bin/python import posix t1 = posix.times() -FAQDIR = "/usr/people/guido/python/FAQ" -import os, sys, time, operator -os.chdir(FAQDIR) -sys.path.insert(0, FAQDIR) try: + FAQDIR = "/usr/people/guido/python/FAQ" + import os, sys, time, operator + os.chdir(FAQDIR) + sys.path.insert(0, FAQDIR) import faqwiz except SystemExit, n: sys.exit(n)