

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

dataset/ETHPy150Open tdevelioglu/python-f5/f5/lb.py Lb._active_transaction/VarMisuse@24/30 `wsdl`->`self`