result_list = sorted(chain(salary_item_list, salary_item_extra_list), key=attrgetter('created'))
unique_results = [rows.next() for (key, rows) in groupby(result_list, key=attrgetter('created')]
No comments :
Post a Comment