From: Vincent Le Gallic Date: Thu, 10 Mar 2016 02:38:36 +0000 (+0100) Subject: [bde/stats] cosmétique \t X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=db89373d6740ca8234cd395cf2a8f9e12ba2e7bb;p=scripts-20-100.git [bde/stats] cosmétique \t --- diff --git a/bde/stats/depenses.py b/bde/stats/depenses.py index d790975..fff63d3 100755 --- a/bde/stats/depenses.py +++ b/bde/stats/depenses.py @@ -68,7 +68,7 @@ def get_depenses(idbde, bymonth=False): def display_depenses(idbde, all, tot, bymonth=False): """Pretty-printing des résultats.""" month = "\tmois" if bymonth else "" - print "Compte %s:\nannee%s\tgains\tdépenses" % (idbde, month) + print "Compte %s:\nannee%s\tgains\t\tdépenses" % (idbde, month) for li in all: if bymonth: li = [int(li[0]), int(li[1]), li[2], li[3]] @@ -76,7 +76,7 @@ def display_depenses(idbde, all, tot, bymonth=False): else: li = [int(li[0]), li[1], li[2]] print "%s\t%s\t\t%s" % tuple(li) - print "\nTotal :\n\tgains\tdépenses" + print "\nTotal :\n\tgains\t\tdépenses" print "\t%s\t\t%s\n" % tuple(tot) if __name__ == "__main__":