def compare_lists(self, list1, list2):
        """
        Compares two lists.
        First list returned is items that are missing
        Second list returned is items that are missin
        """
        identical = True
        for row in list1:
            row['host'] = row['host'].replace('.mozilla.com', '')
        for row in list2:
            row['host'] = row['host'].replace('.mozilla.com', '')

        for row in list1:
            if row not in list2:
                identical = False
                if row['host'] not in [r['host'] for r in list2]:
                    self.hash1_diff.append({'host': row['host'].replace('.mozilla.com',''), 'data': row})
        for row in list2:
            if row not in list1:
                identical = False
                if row['host'] not in [r['host'] for r in self.hash2_diff]:
                    self.hash2_diff.append({'host': row['host'].replace('.mozilla.com',''), 'data': row})
        if identical:
            return identical, [[], []]
        else:
            return identical, [self.hash1_diff, self.hash2_diff]
dataset/ETHPy150Open mozilla/inventory/dhcp/DHCPHash.py/DHCPHashCompare.compare_lists/original