def _gen_bools(self): self.bools = [] self.domainbools = [] types = [self.type] if self.domainname in equiv_dict: for t in equiv_dict[self.domainname]: if t + "_t" in self.all_domains: types.append(t + "_t") for t in types: domainbools, bools = sepolicy.get_bools(t) self.bools += bools self.domainbools += domainbools self.bools.sort() self.domainbools.sort()