

def setattr_ifmissing(clss, name, func):
    for cls in clss:
        if (not hasattr(clss, name)):
            setattr(cls, name, func)

dataset/ETHPy150Open jezdez-archive/django-staticfiles/staticfiles/storage.py setattr_ifmissing/VarMisuse@26/34 `cls`->`clss`