~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/launchpad/xmlrpc/faults.py

  • Committer: Gary Poster
  • Date: 2011-07-27 15:25:32 UTC
  • mto: This revision was merged to the branch mainline in revision 13541.
  • Revision ID: gary.poster@canonical.com-20110727152532-50akr19c7mgcj5qu
add config option for timeout value

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    'InvalidBranchUniqueName',
23
23
    'InvalidProductIdentifier',
24
24
    'InvalidBranchUrl',
25
 
    'InvalidSourcePackageName',
26
25
    'OopsOccurred',
27
26
    'NoBranchWithID',
28
27
    'NoLinkedBranch',
477
476
    def __init__(self, server_op, oopsid):
478
477
        LaunchpadFault.__init__(self, server_op=server_op, oopsid=oopsid)
479
478
        self.oopsid = oopsid
480
 
 
481
 
 
482
 
class InvalidSourcePackageName(LaunchpadFault):
483
 
 
484
 
    error_code = 390
485
 
    msg_template = ("%(name)s is not a valid source package name.")
486
 
 
487
 
    def __init__(self, name):
488
 
        self.name = name
489
 
        LaunchpadFault.__init__(self, name=name)