summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-02-05 11:54:25 -0500
committerJeremy Katz <katzj@redhat.com>2008-02-05 11:54:44 -0500
commit682996388d4da74c930e017ae9f876f11e715d44 (patch)
tree36ebc4ac57415f53953deed0a9740e5ffca767c5 /installclass.py
parent7208116a72ab0b207b4fb5d917a556fd518e062d (diff)
downloadanaconda-682996388d4da74c930e017ae9f876f11e715d44.tar.gz
anaconda-682996388d4da74c930e017ae9f876f11e715d44.tar.xz
anaconda-682996388d4da74c930e017ae9f876f11e715d44.zip
Fix test mode with python-fedora installed
We need to prepend the installclass path to the pythonpath like we do the rest of our module paths
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/installclass.py b/installclass.py
index 68a7e37d5..d5882b4cc 100644
--- a/installclass.py
+++ b/installclass.py
@@ -497,7 +497,7 @@ def availableClasses(showHidden=0):
# append the location of installclasses to the python path so we
# can import them
- sys.path.append(path)
+ sys.path.insert(0, path)
files = os.listdir(path)
done = {}