Pas d'unicode ici sinon on ne peux pas piper...

darcs-hash:20050929184504-41617-74a051210bc8de238885186c77a55ffe262793f0.gz
This commit is contained in:
pauget 2005-09-29 20:45:04 +02:00
parent b3e4a11146
commit b02292f8fb

View file

@ -837,20 +837,20 @@ def __recherche() :
__usage_brief('Valeur du paramètre %s incorecte (doit être un entier positif)' % opt)
elif opt in [ '-a', '--adherent' ] :
only_adh = 1
print u"Affichage limité aux adhérents."
print "Affichage limité aux adhérents."
elif opt in [ '-m', '--machine' ] :
only_mac = 1
print u"Affichage limité aux machines."
print "Affichage limité aux machines."
elif opt in [ '-c', '--club' ] :
only_club = 1
print u"Affichage limité aux clubs."
print "Affichage limité aux clubs."
elif opt == '--crans' :
only_crans = 1
mtech = 1
print u"Affichage limité aux machines du crans."
print "Affichage limité aux machines du crans."
elif opt in [ '-b', '--bornes' ] :
only_bornes = 1
print u"Affichage limité aux bornes wifi."
print "Affichage limité aux bornes wifi."
# On va tenter de limiter un peu la recherche
if not arg :
# Recherche initiale sans critère