def main(): print("\nIgnoring offers:") ignored = Serialization.load(Amex.Offer.IGNOREDFILE) printlist = [repr(x) for x in ignored] Serialization.print_list(printlist)
def verboseprint(): offers = Serialization.load(Amex.Offer.FILE) printlist = sorted([repr(x) for x in offers], key=str) Serialization.print_list(printlist)