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