def add(self, ua_string):
        '''
        Either increments the use-count for the user-agent string, or creates a
        new entry. Call this for each user-agent header encountered.
        '''
        if self.data in ua_string:
            self.data[ua_string] += 1
        else:
            self.data[ua_string] = 1
dataset/ETHPy150Open andrewf/pcap2har/pcap2har/httpsession.py/UserAgentTracker.add/swapped operands of `in`