Bug 11136

Summary: bus name and object path not correctly set
Product: Telepathy Reporter: Ali Sabil <ali.sabil>
Component: tp-pythonAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Proposed patch
Proposed fixed patch

Description Ali Sabil 2007-06-04 07:41:19 UTC
The current tp-python sets the bus name using :
clean_account = re.sub('[^a-zA-Z0-9_]', '_', account)
bus_name = dbus.service.BusName('org.freedesktop.Telepathy.Connection.' + clean_account)

Which is incorrect according to the spec
Comment 1 Ali Sabil 2007-06-04 07:42:24 UTC
Created attachment 10175 [details] [review]
Proposed patch

The attached patch fixes the busname and object path, and uses the same name mangling as the one used in tp-glib
Comment 2 Ali Sabil 2007-06-04 07:45:54 UTC
Created attachment 10176 [details] [review]
Proposed fixed patch

The loop forgets to set is_first to False
Comment 3 Simon McVittie 2007-07-02 11:50:58 UTC
Fixed in 0.13.13. Thanks for the patch.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.