Skip to content

Commit

Permalink
Spazzino: corretto segnalazione errore
Browse files Browse the repository at this point in the history
  • Loading branch information
Gelma committed Jul 3, 2011
1 parent 52e16ea commit ec37884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/spazzino.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def controllo_title_della_pagina(self):
try:
if self.titolo != titolo_attuale:
print "Divergenza", self.titolo, titolo_attuale
self.email-errori.aggiunti(' Errore: title della home cambiato da ' +self.titolo+' a '+titolo_attuale)
self.email_errori.aggiunti(' Errore: title della home cambiato da ' +self.titolo+' a '+titolo_attuale)
self.numero_errori += 1
self.titolo = titolo_attuale
return False
Expand Down Expand Up @@ -186,6 +186,6 @@ def invia(self):
if lug.controllo_contenuto():
lug.controllo_title_della_pagina()
lug.invia_report()
transaction.commit()
transaction.commit()
db.pack()
db.close()

0 comments on commit ec37884

Please sign in to comment.