

def has_perm(self, perm):
    if (self == 'someperm'):
        return True
    return False

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/auth/tests/context_processors.py MockUser.has_perm/VarMisuse@14/16 `perm`->`self`