changeset b20793bde31b in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=b20793bde31b
description: fix var name

diffstat:

 src/common/logger.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 175f23cb3ff5 -r b20793bde31b src/common/logger.py
--- a/src/common/logger.py      Wed Aug 24 16:39:49 2011 +0200
+++ b/src/common/logger.py      Thu Aug 25 00:03:03 2011 +0200
@@ -1121,11 +1121,11 @@
                 obj.conn.last_history_time[obj.jid] = 
time.mktime(obj.timestamp)
 
             except exceptions.PysqliteOperationalError, e:
-                self.conn.dispatch('DB_ERROR', (_('Disk Write Error'), str(e)))
+                obj.conn.dispatch('DB_ERROR', (_('Disk Write Error'), str(e)))
             except exceptions.DatabaseMalformed:
                 pritext = _('Database Error')
                 sectext = _('The database file (%s) cannot be read. Try to '
                     'repair it (see http://trac.gajim.org/wiki/DatabaseBackup) 
'
                     'or remove it (all history will be lost).') % \
                     LOG_DB_PATH
-                self.conn.dispatch('DB_ERROR', (pritext, sectext))
\ No newline at end of file
+                obj.conn.dispatch('DB_ERROR', (pritext, sectext))
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to