~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/doc/bugcomment.txt

  • Committer: Curtis Hovey
  • Date: 2011-12-29 05:29:36 UTC
  • mto: This revision was merged to the branch mainline in revision 14606.
  • Revision ID: curtis.hovey@canonical.com-20111229052936-c261pibg1p6ze6m4
Moved canonical.config to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
display a link to view the full comment. Let's change the default
94
94
threshold so that all comments truncate.
95
95
 
96
 
    >>> from canonical.config import config
 
96
    >>> from lp.services.config import config
97
97
    >>> max_comment_size = """
98
98
    ...     [malone]
99
99
    ...     max_comment_size: 20
246
246
comments_list_max_length, the list is truncated to show the oldest and
247
247
newest bugs, with a visual break in between.
248
248
 
249
 
    >>> from canonical.config import config
 
249
    >>> from lp.services.config import config
250
250
    >>> config.push('malone', '''
251
251
    ... [malone]
252
252
    ... comments_list_max_length: 10