def on_xmpp_roster_update(self, roster):
        """Handler for roster update event"""
        for item in roster["roster"]["items"]:
            if self.friends not in item:
                self.friends.append(self.jid_to_summoner_id(item))
        if self.friends:
            self.fire_event("got_friendlist", friends=self.friends)
dataset/ETHPy150Open Mathzx/zxLoLBoT/zxlolbot.py/zxLoLBoT.on_xmpp_roster_update/swapped operands of `not in`