From: Vincent Le Gallic Date: Wed, 10 Feb 2016 12:42:50 +0000 (+0100) Subject: [bde/credits_duplicates] Oubli des colonnes prénom/nom à l'affichage X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=df22b413788ec4fe9655c0208b1d8bbe9120dbab;p=scripts-20-100.git [bde/credits_duplicates] Oubli des colonnes prénom/nom à l'affichage --- 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"))