--- installclass.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/installclass.py b/installclass.py index 5ede06a..26ce5ca 100644 --- a/installclass.py +++ b/installclass.py @@ -241,7 +241,8 @@ def availableClasses(showHidden=0): elif os.access("/tmp/product/installclasses", os.R_OK): path = "/tmp/product/installclasses" else: - path = "/usr/lib/anaconda/installclasses" + from distutils.sysconfig import get_python_lib + path = get_python_lib(plat_specific=1) + "/anaconda/installclasses" # append the location of installclasses to the python path so we # can import them -- 1.6.5.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list