Merge lp:~richard-wilbur/bzr-dbus/fix-old-glib into lp:bzr-dbus
Proposed by
Richard Wilbur
Status: | Merged |
---|---|
Merged at revision: | 55 |
Proposed branch: | lp:~richard-wilbur/bzr-dbus/fix-old-glib |
Merge into: | lp:bzr-dbus |
Diff against target: |
30 lines (+7/-2) 2 files modified
activity.py (+6/-1) tests/test_activity.py (+1/-1) |
To merge this branch: | bzr merge lp:~richard-wilbur/bzr-dbus/fix-old-glib |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Bruce Park (community) | Approve | ||
Andrew Starr-Bochicchio | Pending | ||
Review via email: mp+163046@code.launchpad.net |
Description of the change
In trying to avoid deprecated python-gobject interfaces, the bzr-dbus code was migrated to use python-gi. Developers with the newest versions of the code and documentation used a new 4-parameter version of the GLib.io_add_watch() call to avoid deprecation warnings. It turns out that is only supported in the most recent versions of python-gi (>=3.8.0-2) shipped with Ubuntu 13.04 (raring) and beyond.
Caught the exception generated by the unsupported call and used that as the cue to issue the older 3-parameter call. Presently precise and quantal fail the selftests because of this error.
To post a comment you must log in.
Looks good to me. Feel free to merge it when you're ready (I don't have permission to myself).