diff options
author | Morgan Collett <morgan.collett@gmail.com> | 2007-07-09 13:57:15 (GMT) |
---|---|---|
committer | Morgan Collett <morgan.collett@gmail.com> | 2007-07-09 13:57:15 (GMT) |
commit | 2b4b443ea2e82ac77289f8d77723d782d62e7a6b (patch) | |
tree | c449144e7d34788525765086b303b1f4f029b3ef | |
parent | 0fdd201b8f383188b5f283313ee30115ef8f1896 (diff) |
Show conn.object_path in debug logs
-rw-r--r-- | src/buddy.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/buddy.py b/src/buddy.py index 8fa8a98..9e8887e 100644 --- a/src/buddy.py +++ b/src/buddy.py @@ -654,7 +654,7 @@ class GenericOwner(Buddy): if CONN_INTERFACE_BUDDY_INFO not in conn: _logger.warning('%s does not support BuddyInfo - unable to ' - 'set activities') + 'set activities' % conn.object_path) return conn[CONN_INTERFACE_BUDDY_INFO].SetActivities( @@ -687,7 +687,7 @@ class GenericOwner(Buddy): if CONN_INTERFACE_BUDDY_INFO not in conn: _logger.warning('%s does not support BuddyInfo - unable to ' - 'set current activity') + 'set current activity' % conn.object_path) return conn[CONN_INTERFACE_BUDDY_INFO].SetCurrentActivity(cur_activity, @@ -702,7 +702,7 @@ class GenericOwner(Buddy): if CONN_INTERFACE_ALIASING not in conn: _logger.warning('%s does not support aliasing - unable to ' - 'set my own alias') + 'set my own alias' % conn.object_path) return False conn[CONN_INTERFACE_ALIASING].SetAliases({self_handle: self._nick}, @@ -733,7 +733,8 @@ class GenericOwner(Buddy): if connected: if CONN_INTERFACE_BUDDY_INFO not in conn: _logger.warning('%s does not support BuddyInfo - unable to ' - 'set my own buddy properties') + 'set my own buddy properties' % + conn.object_path) return False conn[CONN_INTERFACE_BUDDY_INFO].SetProperties(props, @@ -789,7 +790,8 @@ class GenericOwner(Buddy): if CONN_INTERFACE_AVATARS not in conn: _logger.warning('%s does not support Avatars - unable to ' - 'set my own avatar on this connection') + 'set my own avatar on this connection' % + conn.object_path) return m = new_md5() |