~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 08:38:40 UTC
  • mto: This revision was merged to the branch mainline in revision 13117.
  • Revision ID: william.grant@canonical.com-20110520083840-ipxsjsodfbxtkca0
Fix verifySignature docstring.

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
    def verifySignature(self, content, filename):
144
144
        """Verify the signature on the file content.
145
145
 
146
 
        Stores the fingerprint, the IGPGKey used to sign, the owner of
147
 
        the key and a dictionary containing
148
 
 
149
146
        Raise UploadError if the signing key cannot be found in launchpad
150
147
        or if the GPG verification failed for any other reason.
151
148
 
152
 
        Returns the key owner (person object), the key (gpgkey object) and
153
 
        the pyme signature as a three-tuple
 
149
        Returns a tuple of the key (IGPGKey object) and the verified
 
150
        cleartext data.
154
151
        """
155
152
        self.logger.debug("Verifying signature on %s" % filename)
156
153