~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/interfaces/archive.py

  • Committer: Michael Hudson
  • Date: 2010-07-27 05:07:09 UTC
  • mto: (11128.11.2)
  • mto: This revision was merged to the branch mainline in revision 11299.
  • Revision ID: michael.hudson@linaro.org-20100727050709-lue5tgfc3w5bhgj8
merge more separate apache config from later pipe

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
from canonical.launchpad.fields import (
56
56
    ParticipatingPersonChoice, PublicPersonChoice, StrippedTextLine)
57
57
from canonical.launchpad.interfaces.launchpad import IPrivacy
58
 
from lp.app.errors import NameLookupFailed
59
58
from lp.registry.interfaces.role import IHasOwner
60
59
from lp.soyuz.interfaces.buildrecords import IHasBuildRecords
61
60
from lp.soyuz.interfaces.processor import IProcessorFamily
62
61
from lp.registry.interfaces.gpg import IGPGKey
63
62
from lp.registry.interfaces.person import IPerson
64
63
from canonical.launchpad.validators.name import name_validator
 
64
from canonical.launchpad.webapp.interfaces import NameLookupFailed
65
65
 
66
66
from lazr.restful.declarations import (
67
67
    REQUEST_USER, call_with, export_as_webservice_entry, exported,
166
166
 
167
167
class CannotUploadToPocket(Exception):
168
168
    """Returned when a pocket is closed for uploads."""
169
 
    webservice_error(403) # Forbidden.
170
169
 
171
170
    def __init__(self, distroseries, pocket):
172
171
        Exception.__init__(self,