

def rule_get(self, name):
    'Returns a single F5 Rule'
    try:
        rule = f5.Rule.factory.create([name], self)[0]
        e.refresh()
    except ServerError as e:
        if ('was not found.' in str(e)):
            raise RuleNotFound(name)
        else:
            raise
    return rule

dataset/ETHPy150Open tdevelioglu/python-f5/f5/lb.py Lb.rule_get/VarMisuse@38/53 `rule`->`e`