Unicode.
darcs-hash:20060404224746-68412-c02859958ebb6c759a67a40516661d2ed40b1a7a.gz
This commit is contained in:
parent
bf58f3db6c
commit
fffbed84f9
6 changed files with 35 additions and 35 deletions
|
@ -152,17 +152,17 @@ class firewall_crans :
|
|||
|
||||
def restart(self):
|
||||
""" Rédémarrage du firewall """
|
||||
cprint(u'Redémarrage firewall','gras')
|
||||
cprint(u'Redémarrage firewall', 'gras')
|
||||
self.start(False)
|
||||
|
||||
def start(self,aff_txt_intro=True) :
|
||||
""" Construction du firewall
|
||||
aff_txt_intro s'occupe uniquement de l'esthétisme
|
||||
"""
|
||||
if aff_txt_intro : cprint('Démarrage firewall','gras')
|
||||
if aff_txt_intro: cprint(u'Démarrage firewall', 'gras')
|
||||
# Préliminaires
|
||||
if not self.__machines() or self.exception_catcher(self.__stop) :
|
||||
cprint("Abandon",'rouge')
|
||||
cprint(u"Abandon", 'rouge')
|
||||
return
|
||||
|
||||
# Initialisation
|
||||
|
@ -179,7 +179,7 @@ class firewall_crans :
|
|||
|
||||
def stop(self):
|
||||
""" Arrête le firewall """
|
||||
cprint("Arręt du firewall",'gras')
|
||||
cprint(u"Arrêt du firewall", 'gras')
|
||||
self.pre_stop_hook()
|
||||
self.exception_catcher(self.__stop)
|
||||
cprint(u"\t -> fin de la procédure d'arrêt",'vert')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue