Merge lp:~dobey/ubuntuone-dev-tools/gi-glib-fallback into lp:ubuntuone-dev-tools
| Status: | Merged |
|---|---|
| Approved by: | Brian Curtin on 2012-04-26 |
| Approved revision: | 68 |
| Merged at revision: | 67 |
| Proposed branch: | lp:~dobey/ubuntuone-dev-tools/gi-glib-fallback |
| Merge into: | lp:ubuntuone-dev-tools |
| Diff against target: |
47 lines (+18/-6) 2 files modified
bin/u1trial (+1/-1) ubuntuone/devtools/reactors/gi.py (+17/-5) |
| To merge this branch: | bzr merge lp:~dobey/ubuntuone-dev-tools/gi-glib-fallback |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Brian Curtin (community) | Approve on 2012-04-26 | ||
| Alejandro J. Cura (community) | 2012-04-25 | Approve on 2012-04-25 | |
|
Review via email:
|
|||
Commit Message
Fall back to the gtk2/glib2 reactors if gtk3/gi reactors aren't available
Default to using gi reactor in u1trial
| Brian Curtin (brian.curtin) wrote : | # |
Looks good.
You need to change this, but you have Python 3-like print usage in there, although it's just passing a single tuple to the print statement.
| dobey (dobey) wrote : | # |
> You need to change this, but you have Python 3-like print usage in there,
> although it's just passing a single tuple to the print statement.
As we will be needing to support Python 3 for 12.10 as best we can, I thought it best to start using the print statement as a function, as is required in Python 3, even though I did not add the __future__ import to enforce it. I suspect we'll need to get several of our lower level projects working with Python 3 soon.

Code looks good; all tests pass on both Oneiric and Precise.