~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/mail/commands.py

  • Committer: Stuart Bishop
  • Date: 2011-09-28 12:49:24 UTC
  • mfrom: (9893.10.1 trivial)
  • mto: This revision was merged to the branch mainline in revision 14178.
  • Revision ID: stuart.bishop@canonical.com-20110928124924-m5a22fymqghw6c5i
Merged trivial into distinct-db-users.

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
                context, providing=providedBy(context))
257
257
 
258
258
        # Apply requested changes.
 
259
        user = getUtility(ILaunchBag).user
259
260
        if security_related:
260
 
            user = getUtility(ILaunchBag).user
261
261
            if context.setPrivate(True, user):
262
262
                edited = True
263
263
                edited_fields.add('private')
264
264
        if context.security_related != security_related:
265
 
            context.setSecurityRelated(security_related)
 
265
            context.setSecurityRelated(security_related, user)
266
266
            edited = True
267
267
            edited_fields.add('security_related')
268
268