~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Ian Booth
  • Date: 2011-04-19 15:10:57 UTC
  • mfrom: (12868 devel)
  • mto: This revision was merged to the branch mainline in revision 12983.
  • Revision ID: ian.booth@canonical.com-20110419151057-he56y6k29c4zeiyk
Merge from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
850
850
 
851
851
    def mute(self, person, muted_by):
852
852
        """See `IBug`."""
 
853
        if person is None:
 
854
            # This may be a webservice request.
 
855
            person = muted_by
853
856
        # If there's an existing subscription, update it.
854
857
        store = Store.of(self)
855
858
        subscriptions = store.find(