

def _ensure_transaction(self):
    wsdl = self._transport.System.Session
    try:
        wsdl.start_transaction()
    except ServerError as e:
        if ('Only one transaction can be open at any time' in str(e)):
            pass
        else:
            raise

dataset/ETHPy150Open tdevelioglu/python-f5/f5/lb.py Lb._ensure_transaction/original