coding standards
This commit is contained in:
parent
ff0c0dc1c5
commit
635d9a02d5
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue