Gris Ge
2014-03-22 15:35:22 UTC
* Fix regression of running user defined IPC folder via LSM_UDS_PATH
environment variable.
Signed-off-by: Gris Ge <***@redhat.com>
---
lsm/lsm/_client.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lsm/lsm/_client.py b/lsm/lsm/_client.py
index 5562219..197a7e9 100644
--- a/lsm/lsm/_client.py
+++ b/lsm/lsm/_client.py
@@ -131,7 +131,7 @@ class Client(INetworkAttachedStorage):
(plug, proto) = scheme.split("+")
scheme = plug
- self.plugin_path = os.path.join(_UDS_PATH, scheme)
+ self.plugin_path = os.path.join(self._uds_path, scheme)
if os.path.exists(self.plugin_path):
self._tp = _TransPort(_TransPort.get_socket(self.plugin_path))
environment variable.
Signed-off-by: Gris Ge <***@redhat.com>
---
lsm/lsm/_client.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lsm/lsm/_client.py b/lsm/lsm/_client.py
index 5562219..197a7e9 100644
--- a/lsm/lsm/_client.py
+++ b/lsm/lsm/_client.py
@@ -131,7 +131,7 @@ class Client(INetworkAttachedStorage):
(plug, proto) = scheme.split("+")
scheme = plug
- self.plugin_path = os.path.join(_UDS_PATH, scheme)
+ self.plugin_path = os.path.join(self._uds_path, scheme)
if os.path.exists(self.plugin_path):
self._tp = _TransPort(_TransPort.get_socket(self.plugin_path))
--
1.8.3.1
1.8.3.1