From 6b95b76d0b161388414f579b5ebe54e1f64b479b Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Mon, 5 Oct 2009 16:16:15 +0200 Subject: [PATCH] mcpu: Remove unused exclusive_BGL attribute Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- lib/mcpu.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/mcpu.py b/lib/mcpu.py index f9d5ab713..6a054f93e 100644 --- a/lib/mcpu.py +++ b/lib/mcpu.py @@ -130,7 +130,6 @@ class Processor(object): """ self.context = context self._cbs = None - self.exclusive_BGL = False self.rpc = rpc.RpcRunner(context.cfg) self.hmclass = HooksMaster @@ -295,14 +294,12 @@ class Processor(object): self._ReportLocks(locking.LEVEL_CLUSTER, [locking.BGL], not lu_class.REQ_BGL, True) try: - self.exclusive_BGL = lu_class.REQ_BGL lu = lu_class(self, op, self.context, self.rpc) lu.ExpandNames() assert lu.needed_locks is not None, "needed_locks not set by LU" result = self._LockAndExecLU(lu, locking.LEVEL_INSTANCE) finally: self.context.glm.release(locking.LEVEL_CLUSTER) - self.exclusive_BGL = False finally: self._cbs = None -- GitLab