X-Git-Url: http://gitweb.pimeys.fr/?p=scripts-20-100.git;a=blobdiff_plain;f=bde%2Fcredits_duplicates.py;h=ccda353b7f12943381c164237bedc56737dd82da;hp=e9185d3b742d412c805003ea0e8d061182065c4c;hb=df22b413788ec4fe9655c0208b1d8bbe9120dbab;hpb=0861fdc7cb0d07cacbfd0d8b9e7914ec7e623c88 diff --git a/bde/credits_duplicates.py b/bde/credits_duplicates.py index e9185d3..ccda353 100755 --- a/bde/credits_duplicates.py +++ b/bde/credits_duplicates.py @@ -127,7 +127,7 @@ def interactive(blocks, cur, args): for b in blocks: lb = [int(i) for i in b.split(",")] l = get_transactions(cur, b) - formatted = pretty_print.sql_pretty_print(l, keys=["id", "date", "type", "emetteur", "destinataire", "quantite", "montant", "description", "valide", "cantinvalidate"]) + formatted = pretty_print.sql_pretty_print(l, keys=["id", "date", "type", "emetteur", "destinataire", "quantite", "montant", "description", "valide", "cantinvalidate", "prenom", "nom"]) if not args.noless: p = subprocess.Popen(["less"], stdin=subprocess.PIPE) p.communicate(formatted.encode("utf-8"))