~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/bug.py

  • Committer: Ian Booth
  • Date: 2011-09-15 11:24:46 UTC
  • mto: This revision was merged to the branch mainline in revision 13964.
  • Revision ID: ian.booth@canonical.com-20110915112446-w9i79wukrwijxo9p
Add yui test and fix some formatting

Show diffs side-by-side

added added

removed removed

Lines of Context:
895
895
            cache, cls=ResourceJSONEncoder,
896
896
            media_type=EntryResource.JSON_TYPE)
897
897
 
898
 
        return ("""{
899
 
                "cache_data": %s,
900
 
                "subscription_data": %s}
901
 
            """) % (cache_data, subscription_data)
 
898
        return """{
 
899
            "cache_data": %s,
 
900
            "subscription_data": %s}
 
901
            """ % (cache_data, subscription_data)
902
902
 
903
903
    def _handlePrivacyChanged(self, user_will_be_subscribed):
904
904
        """Handle the case where the privacy of the bug has been changed.