Revision b459a848 lib/runtime.py

b/lib/runtime.py
175 175

  
176 176
  """
177 177
  # We need to use the global keyword here
178
  global _priv # pylint: disable-msg=W0603
178
  global _priv # pylint: disable=W0603
179 179

  
180 180
  if not _priv:
181 181
    _priv_lock.acquire()
182 182
    try:
183 183
      if not _priv:
184 184
        # W0621: Redefine '_priv' from outer scope (used for singleton)
185
        _priv = resolver() # pylint: disable-msg=W0621
185
        _priv = resolver() # pylint: disable=W0621
186 186
    finally:
187 187
      _priv_lock.release()
188 188

  

Also available in: Unified diff