Revision 21a6c826 lib/locking.py

b/lib/locking.py
778 778
            "You must own the Big Ganeti Lock before acquiring any other")
779 779

  
780 780
    # Check we don't own locks at the same or upper levels.
781
    assert not self._upper_owned(level), ("Cannot acquire locks at a level" 
781
    assert not self._upper_owned(level), ("Cannot acquire locks at a level"
782 782
           " while owning some at a greater one")
783 783

  
784 784
    # Acquire the locks in the set.

Also available in: Unified diff