From 682996388d4da74c930e017ae9f876f11e715d44 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Tue, 5 Feb 2008 11:54:25 -0500 Subject: 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 --- installclass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'installclass.py') 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 = {} -- cgit