~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/archiveuploader/dscfile.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:
65
65
from lp.registry.interfaces.sourcepackage import SourcePackageFileType
66
66
from lp.registry.interfaces.sourcepackagename import ISourcePackageNameSet
67
67
from lp.services.encoding import guess as guess_encoding
68
 
from lp.services.mail.signedmessage import strip_pgp_signature
69
68
from lp.soyuz.enums import (
70
69
    ArchivePurpose,
71
70
    SourcePackageFormat,
133
132
                self.raw_content, self.filepath)
134
133
        else:
135
134
            self.logger.debug("%s can be unsigned." % self.filename)
136
 
            self.parsed_content = strip_pgp_signature(self.raw_content)
 
135
            self.parsed_content = self.raw_content
137
136
        try:
138
137
            self._dict = parse_tagfile_content(
139
138
                self.parsed_content, filename=self.filepath)