Typos
This commit is contained in:
parent
6bc8ef3949
commit
a598e62bab
2 changed files with 2 additions and 2 deletions
|
@ -1862,7 +1862,7 @@ class BaseProprietaire(BaseClasseCrans):
|
||||||
if len(c.args) == 2:
|
if len(c.args) == 2:
|
||||||
old_adh = c.args[1]
|
old_adh = c.args[1]
|
||||||
r = prompt(u"Changer %s de chambre ? [O/N]" % old_adh.Nom(), "n")
|
r = prompt(u"Changer %s de chambre ? [O/N]" % old_adh.Nom(), "n")
|
||||||
if r == 'o' or r == 'o':
|
if r == 'O' or r == 'o':
|
||||||
old_adh.chbre('????')
|
old_adh.chbre('????')
|
||||||
old_adh.save()
|
old_adh.save()
|
||||||
self.chbre(new_ch)
|
self.chbre(new_ch)
|
||||||
|
|
|
@ -72,7 +72,7 @@ filtre = os.popen("tail -F /var/log/firewall/filtre.log 2> /dev/null")
|
||||||
|
|
||||||
# On matche les log du firewall avec les motifs :
|
# On matche les log du firewall avec les motifs :
|
||||||
#################################################
|
#################################################
|
||||||
for log in filtre :
|
for log in filtre:
|
||||||
resultat_p2p = motif_p2p.match(log)
|
resultat_p2p = motif_p2p.match(log)
|
||||||
resultat_virus = motif_virus.match(log)
|
resultat_virus = motif_virus.match(log)
|
||||||
resultat_flood = motif_flood.match(log)
|
resultat_flood = motif_flood.match(log)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue