coding standards

This commit is contained in:
Yann Leboulanger 2011-05-31 17:46:49 +02:00
parent ff0c0dc1c5
commit 635d9a02d5
1 changed files with 5 additions and 4 deletions

View File

@ -460,8 +460,9 @@ class CommonConnection:
str(e))) str(e)))
except exceptions.DatabaseMalformed: except exceptions.DatabaseMalformed:
pritext = _('Database Error') pritext = _('Database Error')
sectext = _('The database file (%s) cannot be read. Try to ' sectext = _('The database file (%s) cannot be read. Try'
'repair it (see http://trac.gajim.org/wiki/DatabaseBackup)' ' to repair it (see '
'http://trac.gajim.org/wiki/DatabaseBackup)'
' or remove it (all history will be lost).') % \ ' or remove it (all history will be lost).') % \
common.logger.LOG_DB_PATH common.logger.LOG_DB_PATH
self.dispatch('DB_ERROR', (pritext, sectext)) self.dispatch('DB_ERROR', (pritext, sectext))