Merge lp://staging/~brian-murray/launchpad/api-export-can-expire into lp://staging/launchpad

Proposed by Brian Murray
Status: Merged
Merged at revision: not available
Proposed branch: lp://staging/~brian-murray/launchpad/api-export-can-expire
Merge into: lp://staging/launchpad
Diff against target: 30 lines (+4/-2)
2 files modified
lib/lp/bugs/interfaces/bug.py (+3/-2)
lib/lp/bugs/stories/webservice/xx-bug.txt (+1/-0)
To merge this branch: bzr merge lp://staging/~brian-murray/launchpad/api-export-can-expire
Reviewer Review Type Date Requested Status
Eleanor Berger (community) Approve
Review via email: mp+17801@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :

This branch exports IBug.can_expire in the API.

Revision history for this message
Eleanor Berger (intellectronica) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lib/lp/bugs/interfaces/bug.py'
--- lib/lp/bugs/interfaces/bug.py 2009-12-09 20:48:01 +0000
+++ lib/lp/bugs/interfaces/bug.py 2010-01-21 02:37:14 +0000
@@ -271,11 +271,12 @@
271 "a message was sent to the bug reporter, and the bug is "271 "a message was sent to the bug reporter, and the bug is "
272 "associated with pillars that have enabled bug expiration."),272 "associated with pillars that have enabled bug expiration."),
273 readonly=True)273 readonly=True)
274 can_expire = Bool(274 can_expire = exported(
275 Bool(
275 title=_("Can the Incomplete bug expire if it becomes inactive? "276 title=_("Can the Incomplete bug expire if it becomes inactive? "
276 "Expiration may happen when the bug permits expiration, "277 "Expiration may happen when the bug permits expiration, "
277 "and a bugtask cannot be confirmed."),278 "and a bugtask cannot be confirmed."),
278 readonly=True)279 readonly=True))
279 date_last_message = exported(280 date_last_message = exported(
280 Datetime(title=_('Date of last bug message'),281 Datetime(title=_('Date of last bug message'),
281 required=False, readonly=True))282 required=False, readonly=True))
282283
=== modified file 'lib/lp/bugs/stories/webservice/xx-bug.txt'
--- lib/lp/bugs/stories/webservice/xx-bug.txt 2009-11-20 04:21:24 +0000
+++ lib/lp/bugs/stories/webservice/xx-bug.txt 2010-01-21 02:37:14 +0000
@@ -21,6 +21,7 @@
21 attachments_collection_link: u'http://.../bugs/11/attachments'21 attachments_collection_link: u'http://.../bugs/11/attachments'
22 bug_tasks_collection_link: u'http://.../bugs/11/bug_tasks'22 bug_tasks_collection_link: u'http://.../bugs/11/bug_tasks'
23 bug_watches_collection_link: u'http://.../bugs/11/bug_watches'23 bug_watches_collection_link: u'http://.../bugs/11/bug_watches'
24 can_expire: False
24 cves_collection_link: u'http://.../bugs/11/cves'25 cves_collection_link: u'http://.../bugs/11/cves'
25 date_created: u'2007-03-15T20:33:56.678930+00:00'26 date_created: u'2007-03-15T20:33:56.678930+00:00'
26 date_last_message: None27 date_last_message: None