Whamcloud - gitweb
b=5800
authornic <nic>
Wed, 2 Mar 2005 22:15:52 +0000 (22:15 +0000)
committernic <nic>
Wed, 2 Mar 2005 22:15:52 +0000 (22:15 +0000)
extend the same affection shown to lconf to lmc. we have no favorite child

lustre/utils/lmc

index 99364de..11b9fb8 100755 (executable)
@@ -37,7 +37,7 @@ def printDoc(doc, stream=sys.stdout):
         stream.write("\n")
     
 
-PYMOD_DIR = "/usr/lib/lustre/python"
+PYMOD_DIR = ["/usr/lib/lustre/python", "/usr/lib64/lustre/python"]
 
 def development_mode():
     base = os.path.dirname(sys.argv[0])
@@ -46,7 +46,7 @@ def development_mode():
     return 0
 
 if not development_mode():
-    sys.path.append(PYMOD_DIR)
+    sys.path.extend(PYMOD_DIR)
 
 import Lustre