summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-02-13 20:01:11 +0100
committermathieui <mathieui@mathieui.net>2012-02-13 20:01:11 +0100
commitaf110581290d28b86f991dc48ced55c085852225 (patch)
tree5ddbcefe8c99ab058242faf2145342db2a76f133 /src
parentbe5ccce421143527f7779c662f4c920aba58f79c (diff)
downloadpoezio-af110581290d28b86f991dc48ced55c085852225.tar.gz
poezio-af110581290d28b86f991dc48ced55c085852225.tar.bz2
poezio-af110581290d28b86f991dc48ced55c085852225.tar.xz
poezio-af110581290d28b86f991dc48ced55c085852225.zip
Fix a traceback when in debug mode
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs.py b/src/tabs.py
index f9b2bb29..e2d40e87 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -156,7 +156,7 @@ class Tab(object):
log.debug("Invalid value for tab state: %s", value)
elif STATE_PRIORITY[value] < STATE_PRIORITY[self._state] and \
value != 'current':
- log.debug("Did not set status because of lower priority, asked: %s, kept: %s", (value, self._state))
+ log.debug("Did not set status because of lower priority, asked: %s, kept: %s", value, self._state)
else:
self._state = value
@@ -1703,7 +1703,7 @@ class RosterInfoTab(Tab):
roster.remove_contact(jid)
except Exception as e:
import traceback
- log.debug(_('Traceback when removing %s from the roster:\n')+traceback.format_exc())
+ log.debug(_('Traceback when removing %s from the roster:\n' % jid)+traceback.format_exc())
def command_add(self, args):
"""