~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/scripts/bugimport.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:
328
328
            self.createAttachments(bug, msg, commentnode)
329
329
 
330
330
        # set up bug
331
 
        bug.setPrivate(get_value(bugnode, 'private') == 'True', owner)
332
 
        bug.setSecurityRelated(
333
 
            get_value(bugnode, 'security_related') == 'True')
 
331
        private = get_value(bugnode, 'private') == 'True'
 
332
        security_related = get_value(bugnode, 'security_related') == 'True'
 
333
        bug.setPrivacyAndSecurityRelated(private, security_related, owner)
334
334
        bug.name = get_value(bugnode, 'nickname')
335
335
        description = get_value(bugnode, 'description')
336
336
        if description: