LUOobCommand: acquire BGL in shared mode
authorBernardo Dal Seno <bdalseno@google.com>
Wed, 28 Mar 2012 11:42:46 +0000 (13:42 +0200)
committerBernardo Dal Seno <bdalseno@google.com>
Wed, 28 Mar 2012 14:12:46 +0000 (16:12 +0200)
Fixed a typo so that now LUOobCommand acquires the BLG in shared mode, as
intended.

Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/cmdlib.py

index 920c297..51a8176 100644 (file)
@@ -3968,7 +3968,7 @@ class LUOobCommand(NoHooksLU):
   """Logical unit for OOB handling.
 
   """
-  REG_BGL = False
+  REQ_BGL = False
   _SKIP_MASTER = (constants.OOB_POWER_OFF, constants.OOB_POWER_CYCLE)
 
   def ExpandNames(self):