~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/scripts/processaccepted.py

  • Committer: William Grant
  • Date: 2011-05-20 06:09:38 UTC
  • mto: This revision was merged to the branch mainline in revision 13117.
  • Revision ID: william.grant@canonical.com-20110520060938-1vr5e1x81sgi5lwi
Stop using strip_pgp_signature in front of parse_tagfile*... it does it itself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
from lp.bugs.interfaces.bugtask import BugTaskStatus
31
31
from lp.registry.interfaces.distribution import IDistributionSet
32
32
from lp.registry.interfaces.pocket import PackagePublishingPocket
33
 
from lp.services.mail.signedmessage import strip_pgp_signature
34
33
from lp.services.scripts.base import (
35
34
    LaunchpadScript,
36
35
    LaunchpadScriptFailure,
53
52
    The bugs is specified in the Launchpad-bugs-fixed header, and are
54
53
    separated by a space character. Nonexistent bug ids are ignored.
55
54
    """
56
 
    contents = strip_pgp_signature(changes_file.read())
57
 
    tags = Deb822Dict(parse_tagfile_content(contents))
 
55
    tags = Deb822Dict(parse_tagfile_content(changes_file.read()))
58
56
    bugs_fixed_line = tags.get('Launchpad-bugs-fixed', '')
59
57
    bugs = []
60
58
    for bug_id in bugs_fixed_line.split():