~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/browser/question.py

[r=deryck][bug=785637] Obfuscate email addresses in bugs and question
        titles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
    LaunchpadFormView,
107
107
    safe_action,
108
108
    )
 
109
from lp.app.browser.stringformatter import FormattersAPI
109
110
from lp.app.errors import (
110
111
    NotFoundError,
111
112
    UnexpectedFormData,
831
832
 
832
833
    @property
833
834
    def label(self):
834
 
        return self.context.title
 
835
        return FormattersAPI(self.context.title).obfuscate_email()
835
836
 
836
837
    @property
837
838
    def page_title(self):