Lines Matching full:what
204 def _add_remove_uh_to_topic(self, item, what): argument
205 """Adds the 'what' (such as users or hosts) to the 'item'"""
206 uhs = getattr(self, what)
210 op = '%s_%s_%s' % (self.topic, self.op_action, what)
213 **{'id': item, what: uhs}) # The data
214 setattr(self, 'good_%s' % what, uhs)
220 **{'id': item, what: good_uhs})
221 setattr(self, 'good_%s' % what, good_uhs)
248 for what in plurals:
250 self._add_remove_uh_to_topic(item, what)
258 oks.setdefault(item, []).append(what)
262 things_ok = [item for item, what in oks.items() if thing in what]