Whamcloud - gitweb
conf-sanity-local: 9: the id() in python cause problem of calculating
authorericm <ericm>
Thu, 5 May 2005 20:00:59 +0000 (20:00 +0000)
committerericm <ericm>
Thu, 5 May 2005 20:00:59 +0000 (20:00 +0000)
debug mask, I'm not python export but simply remove them fixed it.
b=6104

lustre/utils/lconf

index a053084..d03d215 100755 (executable)
@@ -3497,7 +3497,7 @@ def sys_set_ptldebug(ptldebug):
     if ptldebug:
         try:
             val = eval(ptldebug, ptldebug_names)
-            val = "0x%x" % (id(val) & 0xffffffffL)
+            val = "0x%x" % (val & 0xffffffffL)
             sysctl('portals/debug', val)
         except NameError, e:
             panic(str(e))
@@ -3508,7 +3508,7 @@ def sys_set_subsystem(subsystem):
     if subsystem:
         try:
             val = eval(subsystem, subsystem_names)
-            val = "0x%x" % (id(val) & 0xffffffffL)
+            val = "0x%x" % (val & 0xffffffffL)
             sysctl('portals/subsystem_debug', val)
         except NameError, e:
             panic(str(e))