Try:
for x in occupants:
                        if x not in uniqueUsers and x not in staff:
uniqueUsers.append(x)
                        elif x in staff and x not in uniqueStaff:
uniqueStaff.append(x)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to