]> gitweb.pimeys.fr Git - scripts-20-100.git/commitdiff
[bde/credits_duplicates] Oubli des colonnes prénom/nom à l'affichage
authorVincent Le Gallic <legallic@crans.org>
Wed, 10 Feb 2016 12:42:50 +0000 (13:42 +0100)
committerVincent Le Gallic <legallic@crans.org>
Wed, 10 Feb 2016 12:42:50 +0000 (13:42 +0100)
bde/credits_duplicates.py

index e9185d3b742d412c805003ea0e8d061182065c4c..ccda353b7f12943381c164237bedc56737dd82da 100755 (executable)
@@ -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"))