Revision fe267188 lib/locking.py

b/lib/locking.py
753 753
    # the test cases.
754 754
    return utils.any((self._is_owned(l) for l in LEVELS[level + 1:]))
755 755

  
756
  def _BGL_owned(self):
756
  def _BGL_owned(self): # pylint: disable-msg=C0103
757 757
    """Check if the current thread owns the BGL.
758 758

  
759 759
    Both an exclusive or a shared acquisition work.
......
761 761
    """
762 762
    return BGL in self.__keyring[LEVEL_CLUSTER]._list_owned()
763 763

  
764
  def _contains_BGL(self, level, names):
764
  def _contains_BGL(self, level, names): # pylint: disable-msg=C0103
765 765
    """Check if the level contains the BGL.
766 766

  
767 767
    Check if acting on the given level and set of names will change

Also available in: Unified diff