def compare_lists(list1, list2):
    """
    Compares two lists.
    First list returned is items that are missing
    Second list returned is items that are missin
    """
    missingFromList2 = [] 
    missingFromList1 = [] 
    for row in list1:
        if row not in list2:
            print "%s not found" % row
            missingFromList2.append(row)
    for row in list2:
        if row not in list1:
            missingFromList1.append(row)
    if missingFromList1 == missingFromList2:
        return None
    else:
        return missingFromList1, missingFromList2
dataset/ETHPy150Open mozilla/inventory/dhcp/DHCPHash.py/compare_lists/original