From 3f887aa711179e2961b41fc99f83f8bbd8e947e5 Mon Sep 17 00:00:00 2001 From: bernat Date: Thu, 21 Apr 2005 11:15:15 +0200 Subject: [PATCH] Detabification (et j'ai fait un rapport de bugs car jed casse les couilles faire n'importe quoi) darcs-hash:20050421091515-d1718-5e103242864f07f16ef1e01dbe005fffac50656f.gz --- gestion/tools/liste_adh.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gestion/tools/liste_adh.py b/gestion/tools/liste_adh.py index dc119424..8184494b 100755 --- a/gestion/tools/liste_adh.py +++ b/gestion/tools/liste_adh.py @@ -10,11 +10,11 @@ bats = 'ABCGHIJMP' def titre (bat) : if bat == 'P' : - return 'Pavillon des jardins' + return 'Pavillon des jardins' elif bat == '?' : - return 'Autres (extérieurs et chambres invalides)' + return 'Autres (extérieurs et chambres invalides)' else : - return 'Bâtiment %s' % bat + return 'Bâtiment %s' % bat # création de la liste vide ########################### @@ -30,14 +30,14 @@ for bat in bats + '?' : for bat in bats : adhs = db.search( 'chbre=%s*&paiement=ok' % bat )['adherent'] for adh in adhs : - liste[bat].append( u'%s %s' % ( adh.nom(), adh.prenom() ) ) + liste[bat].append( u'%s %s' % ( adh.nom(), adh.prenom() ) ) # les extérieurs adhs = db.search( 'paiement=ok' )['adherent'] for adh in adhs : if not adh.chbre()[0] in bats : - liste['?'].append( u'%s %s' % ( adh.nom(), adh.prenom() ) ) - + liste['?'].append( u'%s %s' % ( adh.nom(), adh.prenom() ) ) + # création du fichier tex ######################### @@ -68,7 +68,7 @@ for bat in bats + '?' : # ajout des adhérents liste[bat].sort() for adh in liste[bat] : - print (u'%s& \\\\\n\\hline' % adh).encode('iso 8859-15') + print (u'%s& \\\\\n\\hline' % adh).encode('iso 8859-15') # fin du batiment print "\\end{longtable}\n"