Revision 686d24f0 lib/cmdlib.py

b/lib/cmdlib.py
138 138
    self.owned_locks = context.glm.list_owned
139 139
    self.context = context
140 140
    self.rpc = rpc_runner
141
    # Dicts used to declare locking needs to mcpu
141

  
142
    # Dictionaries used to declare locking needs to mcpu
142 143
    self.needed_locks = None
143 144
    self.share_locks = dict.fromkeys(locking.LEVELS, 0)
145
    self.opportunistic_locks = dict.fromkeys(locking.LEVELS, False)
146

  
144 147
    self.add_locks = {}
145 148
    self.remove_locks = {}
149

  
146 150
    # Used to force good behavior when calling helper functions
147 151
    self.recalculate_locks = {}
152

  
148 153
    # logging
149 154
    self.Log = processor.Log # pylint: disable=C0103
150 155
    self.LogWarning = processor.LogWarning # pylint: disable=C0103

Also available in: Unified diff