Merge lp:~leonardr/lazr.restful/ireferencechoice-is-a-reference into lp:lazr.restful

Proposed by Leonard Richardson on 2011-01-19
Status: Merged
Approved by: Leonard Richardson on 2011-01-19
Approved revision: 162
Merged at revision: 162
Proposed branch: lp:~leonardr/lazr.restful/ireferencechoice-is-a-reference
Merge into: lp:lazr.restful
Diff against target: 12 lines (+1/-1) 1 file modified
To merge this branch: bzr merge lp:~leonardr/lazr.restful/ireferencechoice-is-a-reference
Reviewer Review Type Date Requested Status
Tim Penhey (community) 2011-01-19 Approve on 2011-01-22
Review via email: mp+46850@code.launchpad.net

Description of the Change

This branch changes the IReferenceChoice marker interface so that it's both an IReference and an IChoice. All these interfaces are markers and there is no effect on the code--this is just to make registration easier elsewhere.

To post a comment you must log in.
Leonard Richardson (leonardr) wrote :

Tim approved this branch in personal communication.

Tim Penhey (thumper) :
review: Approve

Preview Diff

1=== modified file 'src/lazr/restful/interfaces/_fields.py'
2--- src/lazr/restful/interfaces/_fields.py 2009-03-26 17:25:22 +0000
3+++ src/lazr/restful/interfaces/_fields.py 2011-01-19 22:49:53 +0000
4@@ -42,7 +42,7 @@
5 """
6
7
8-class IReferenceChoice(IChoice):
9+class IReferenceChoice(IReference, IChoice):
10 """Interface for a choice among objects."""
11
12 schema = Attribute(

Subscribers

People subscribed via source and target branches