

def _ensure_no_transaction(self):
    wsdl = self._transport.System.Session
    try:
        wsdl.rollback_transaction()
    except ServerError as e:
        if ('No transaction is open to roll back.' in str(e)):
            pass
        else:
            raise
    except:
        raise

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