This commit is contained in:
Pierre-Elliott Bécue 2013-02-03 03:12:36 +01:00
parent 6bc8ef3949
commit a598e62bab
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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)