Sandro Bonazzola has uploaded a new change for review.

Change subject: sos: fix config import
......................................................................

sos: fix config import

config module is in not a platform-specific module so
it's in lib and not in lib64 tree.

Change-Id: Ic5bd8af6a6062a857a48aa205f8461f138ac5979
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1164215
Signed-off-by: Sandro Bonazzola <sbona...@redhat.com>
Reviewed-on: http://gerrit.ovirt.org/35312
Tested-by: Yeela Kaplan <ykap...@redhat.com>
Reviewed-by: Yeela Kaplan <ykap...@redhat.com>
Reviewed-by: Dan Kenigsberg <dan...@redhat.com>
(cherry picked from commit 44376bd1ea7852c697aac74a4cbca66dba5aa151)
---
M vdsm/sos/vdsm.py.in
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/89/35389/1

diff --git a/vdsm/sos/vdsm.py.in b/vdsm/sos/vdsm.py.in
index d90940f..a074298 100644
--- a/vdsm/sos/vdsm.py.in
+++ b/vdsm/sos/vdsm.py.in
@@ -33,10 +33,9 @@
 
 def _importVdsmPylibModule(modName):
     import imp
-    import os.path
     from distutils.sysconfig import get_python_lib
     modFile, modPath, modDesc = imp.find_module(
-        modName, [os.path.join(get_python_lib(True), "vdsm")])
+        modName, [os.path.join(get_python_lib(False), "vdsm")])
     mod = imp.load_module(modName, modFile, modPath, modDesc)
     return mod
 


-- 
To view, visit http://gerrit.ovirt.org/35389
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5bd8af6a6062a857a48aa205f8461f138ac5979
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to