Change in vdsm[master]: sos: fix config import

sbonazzo at redhat.com sbonazzo at redhat.com
Wed Nov 19 09:07:51 UTC 2014


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 <sbonazzo at redhat.com>
---
M vdsm/sos/vdsm.py.in
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/12/35312/1

diff --git a/vdsm/sos/vdsm.py.in b/vdsm/sos/vdsm.py.in
index 60364b3..19b78c9 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/35312
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5bd8af6a6062a857a48aa205f8461f138ac5979
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbonazzo at redhat.com>


More information about the vdsm-patches mailing list