~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/archiveuploader/dscfile.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-04 23:59:50 UTC
  • mfrom: (14621.1.4 xss_911632)
  • Revision ID: launchpad@pqm.canonical.com-20120104235950-13dqftqbpu1zxcdh
[r=abentley][bug=911632] Fix template to escape output of no branch
        message.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009-2012 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
""" DSCFile and related.
199
199
            raise UploadError(str(error))
200
200
 
201
201
        person = getUtility(IPersonSet).getByEmail(email)
202
 
        if person and person.private:
203
 
            # Private teams can not be maintainers.
204
 
            raise UploadError("Invalid Maintainer.")
205
 
 
206
202
        if person is None and self.policy.create_people:
207
203
            package = self._dict['Source']
208
204
            version = self._dict['Version']