From d3ac457d5f460379f8a3cc990836284b54e25a29 Mon Sep 17 00:00:00 2001
From: ericm <ericm>
Date: Thu, 5 May 2005 20:00:59 +0000
Subject: [PATCH] conf-sanity-local: 9: the id() in python cause problem of
 calculating debug mask, I'm not python export but simply remove them fixed
 it. b=6104

---
 lustre/utils/lconf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lustre/utils/lconf b/lustre/utils/lconf
index a05308471c..d03d215135 100755
--- a/lustre/utils/lconf
+++ b/lustre/utils/lconf
@@ -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))
-- 
GitLab