def __init__(self, lock, shared):
    self.shared = shared
    PipeCondition.__init__(self, lock)
Initializes this class.
dataset/ETHPy150Open ganeti/ganeti/lib/locking.py/_PipeConditionWithMode.__init__