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,10 +460,11 @@ 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 '
' or remove it (all history will be lost).') % \ 'http://trac.gajim.org/wiki/DatabaseBackup)'
common.logger.LOG_DB_PATH ' or remove it (all history will be lost).') % \
common.logger.LOG_DB_PATH
self.dispatch('DB_ERROR', (pritext, sectext)) self.dispatch('DB_ERROR', (pritext, sectext))
def ack_subscribed(self, jid): def ack_subscribed(self, jid):