Bug 15013

Summary: Add constants for message types in python
Product: dbus Reporter: Alban Crequy <alban.crequy>
Component: pythonAssignee: Simon McVittie <smcv>
Status: RESOLVED FIXED QA Contact: John (J5) Palmieri <johnp>
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: Other   
OS: All   
URL: http://git.collabora.co.uk/?p=user/smcv/dbus-python-smcv.git;a=shortlog;h=refs/heads/message-type-consts
Whiteboard:
i915 platform: i915 features:

Description Alban Crequy 2008-03-14 10:35:01 UTC
There is no constants for DBUS_MESSAGE_TYPE_{METHOD_{CALL,RETURN},ERROR,SIGNAL}.
I need them for "if msg.get_type() == 4"

<smvc>I would accept patches that added these constants to dbus.lowlevel too
<smvc>(please file a bug on bugs.freedesktop.org).
Comment 1 Simon McVittie 2010-02-18 07:27:20 UTC
Seems you didn't get my not-so-subtle hint that I wanted a patch, so I wrote one myself :-)
Comment 2 Simon McVittie 2010-02-18 10:25:35 UTC
Fixed in 0.83.1

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.