def clean_addon(self):
        addons = []
        for a in self.data.getlist('addon'):
            try:
                addons.append(int(a))
            except __HOLE__:
                pass

        return addons
dataset/ETHPy150Open mozilla/addons-server/src/olympia/bandwagon/forms.py/AddonsForm.clean_addon