Commit 23a752ae authored by Guido van Rossum's avatar Guido van Rossum

Inclide the imports and chdir in the try/except.

parent 1f740710
#! /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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment