

def resolve(self, context):
    try:
        (var1, var2) = context.resolve_vars(context)
        outcome = self.calculate(var1, var2)
    except:
        outcome = False
    if self.negate:
        return (not outcome)
    return outcome

dataset/ETHPy150Open aehlke/manabi/apps/utils/templatetags/smartif.py BaseCalc.resolve/VarMisuse@22/26 `self`->`context`