Revision 525f0f98

b/lib/cmdlib.py
10297 10297
    """
10298 10298
    if self.op.opportunistic_locking:
10299 10299
      # Only consider nodes for which a lock is held
10300
      node_whitelist = self.owned_locks(locking.LEVEL_NODE)
10300
      node_whitelist = list(self.owned_locks(locking.LEVEL_NODE))
10301 10301
    else:
10302 10302
      node_whitelist = None
10303 10303

  
......
11241 11241

  
11242 11242
    if self.op.opportunistic_locking:
11243 11243
      # Only consider nodes for which a lock is held
11244
      node_whitelist = self.owned_locks(locking.LEVEL_NODE)
11244
      node_whitelist = list(self.owned_locks(locking.LEVEL_NODE))
11245 11245
    else:
11246 11246
      node_whitelist = None
11247 11247

  

Also available in: Unified diff