Bug 26289 - Cannot use parameters of type boolean
Summary: Cannot use parameters of type boolean
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-python (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 19:05 UTC by Ed Page
Modified: 2010-04-16 14:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Ed Page 2010-01-27 19:05:34 UTC
Parameters of type boolean fail in Connection.check_parameters.  This is because it is doing isinstance(instance of dbus.types.Boolean, bool) which fails beause dbus.types.Boolean does not subclass bool.

A tested patch can be found in
git://github.com/epage/telepathy-python.git
Comment 1 Ed Page 2010-01-27 19:06:27 UTC
The branch also has outstanding changes for Bug 6059
Comment 2 Jonny Lamb 2010-04-16 14:21:11 UTC
Seems this got fixed in February by Olivier in commit 6e2c862fe2e0ff.


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.