def remove_package(self, package):
        self.model.packages = [pack for pack in self.model.packages
                               if pack.fname != package.fname]
        if package in self.model.checked:
            self.model.checked.remove(package)
        if self.model.actions in package:
            self.model.actions.pop(package)
        self.reset_model()
dataset/ETHPy150Open winpython/winpython/winpython/controlpanel.py/PackagesTable.remove_package/swapped operands of `in`