← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~benji/launchpad/bug-570506 into lp:launchpad

 

Benji York has proposed merging lp:~benji/launchpad/bug-570506 into lp:launchpad.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)
Related bugs:
  #570506 Override interface strings for apidoc
  https://bugs.launchpad.net/bugs/570506


A small documentation change to address bug 570506.
-- 
https://code.launchpad.net/~benji/launchpad/bug-570506/+merge/39790
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~benji/launchpad/bug-570506 into lp:launchpad.
=== modified file 'lib/lp/bugs/interfaces/bug.py'
--- lib/lp/bugs/interfaces/bug.py	2010-10-26 12:53:04 +0000
+++ lib/lp/bugs/interfaces/bug.py	2010-11-01 21:51:55 +0000
@@ -22,6 +22,8 @@
     'InvalidDuplicateValue',
     ]
 
+from textwrap import dedent
+
 from lazr.lifecycle.snapshot import doNotSnapshot
 from lazr.restful.declarations import (
     call_with,
@@ -308,9 +310,18 @@
             "branches on which this bug is being fixed."),
             value_type=Reference(schema=IBugBranch),
             readonly=True))
-    tags = exported(
-        List(title=_("Tags"), description=_("Separated by whitespace."),
-             value_type=Tag(), required=False))
+    tags = exported(List(
+        title=_("Tags"),
+        description=_(dedent("""
+            The tags applied to this bug.
+
+            Web service:
+                The list of tags is whitespace delimited.
+
+            Launchpadlib:
+                The list of tags is represented as a sequence of strings.
+            """)),
+            value_type=Tag(), required=False))
     is_complete = Bool(
         title=_("Is Complete?"),
         description=_(