diff options
author | mathieui <mathieui@mathieui.net> | 2012-02-13 20:01:11 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-02-13 20:01:11 +0100 |
commit | af110581290d28b86f991dc48ced55c085852225 (patch) | |
tree | 5ddbcefe8c99ab058242faf2145342db2a76f133 | |
parent | be5ccce421143527f7779c662f4c920aba58f79c (diff) | |
download | poezio-af110581290d28b86f991dc48ced55c085852225.tar.gz poezio-af110581290d28b86f991dc48ced55c085852225.tar.bz2 poezio-af110581290d28b86f991dc48ced55c085852225.tar.xz poezio-af110581290d28b86f991dc48ced55c085852225.zip |
Fix a traceback when in debug mode
-rw-r--r-- | src/tabs.py | 4 |
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): """ |