changeset ac60d4be68b7 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=ac60d4be68b7
description: fix missing import in trunk. Fixes #5078
diffstat:
src/chat_control.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 97d46f489a69 -r ac60d4be68b7 src/chat_control.py
--- a/src/chat_control.py Sun Jun 07 20:46:39 2009 +0200
+++ b/src/chat_control.py Sun Jun 07 20:59:04 2009 +0200
@@ -2501,8 +2501,9 @@
rows = gajim.logger.get_last_conversation_lines(jid,
restore_how_many,
pending_how_many, timeout, self.account)
except exceptions.DatabaseMalformed:
+ import common.logger
dialogs.ErrorDialog(_('Database Error'),
- _('The database file (%s) cannot be read. Try
to repair it or remove it (all history will be lost).') % constants.LOG_DB_PATH)
+ _('The database file (%s) cannot be read. Try
to repair it or remove it (all history will be lost).') %
common.logger.LOG_DB_PATH)
rows = []
local_old_kind = None
for row in rows: # row[0] time, row[1] has kind, row[2] the
message
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits