예제 #1
0
 def __init__(self, component):
     if IProjectGroup.providedBy(component):
         component_type = 'project group'
     else:
         component_type = component.__class__.__name__.lower()
     LaunchpadFault.__init__(
         self, component_name=component.displayname,
         component_type=component_type)
예제 #2
0
 def __init__(self, distro_name):
     LaunchpadFault.__init__(self, distro_name=distro_name)
예제 #3
0
 def __init__(self, bug_id):
     LaunchpadFault.__init__(self, bug_id=bug_id)
예제 #4
0
 def __init__(self, product_name):
     LaunchpadFault.__init__(self, product_name=product_name)
     self.product_name = product_name
예제 #5
0
 def __init__(self, name):
     self.name = name
     LaunchpadFault.__init__(self, name=name)
예제 #6
0
 def __init__(self, job_id):
     LaunchpadFault.__init__(self, job_id=job_id)
예제 #7
0
 def __init__(self, distroseries_name):
     self.distroseries_name = distroseries_name
     LaunchpadFault.__init__(self, distroseries_name=distroseries_name)
예제 #8
0
 def __init__(self, message="Not found."):
     LaunchpadFault.__init__(self, message=message)
예제 #9
0
 def __init__(self, component):
     LaunchpadFault.__init__(self, object_name=component.displayname)
예제 #10
0
 def __init__(self, team_name, status):
     LaunchpadFault.__init__(self, team_name=team_name, status=status)
예제 #11
0
 def __init__(self, team_name):
     LaunchpadFault.__init__(self, team_name=team_name)
예제 #12
0
 def __init__(self, branch_url, message):
     LaunchpadFault.__init__(self, branch_url=branch_url, message=message)
예제 #13
0
 def __init__(self, parameter_name):
     LaunchpadFault.__init__(self, parameter_name=parameter_name)
예제 #14
0
 def __init__(self, package_name):
     LaunchpadFault.__init__(self, package_name=package_name)
예제 #15
0
 def __init__(self, unique_name):
     LaunchpadFault.__init__(self, unique_name=unique_name)
예제 #16
0
 def __init__(self, message="Permission denied."):
     LaunchpadFault.__init__(self, message=message)
예제 #17
0
 def __init__(self, series_name, product):
     LaunchpadFault.__init__(
         self, series_name=series_name, product_name=product.name)
예제 #18
0
 def __init__(self, path):
     self.path = path
     LaunchpadFault.__init__(self, path=path)
예제 #19
0
 def __init__(self, branch_path):
     LaunchpadFault.__init__(self, branch_path=branch_path)
예제 #20
0
 def __init__(self, sourcepackagename):
     self.sourcepackagename = sourcepackagename
     LaunchpadFault.__init__(self, sourcepackagename=sourcepackagename)
예제 #21
0
 def __init__(self, error):
     LaunchpadFault.__init__(self, error=error)
예제 #22
0
 def __init__(self, server_op, oopsid):
     LaunchpadFault.__init__(self, server_op=server_op, oopsid=oopsid)
     self.oopsid = oopsid
예제 #23
0
 def __init__(self, person_name, team_name):
     LaunchpadFault.__init__(
         self, person_name=person_name, team_name=team_name)
예제 #24
0
 def __init__(self, email, openid_identifier):
     LaunchpadFault.__init__(
         self, email=email, openid_identifier=openid_identifier)
예제 #25
0
 def __init__(self, error):
     error_message = error.args[0].encode('utf-8', 'replace')
     LaunchpadFault.__init__(self, error=error_message)
예제 #26
0
 def __init__(self, email_address, type="user"):
     LaunchpadFault.__init__(self, type=type, email_address=email_address)
예제 #27
0
 def __init__(self, branch_id):
     LaunchpadFault.__init__(self, branch_id=branch_id)
예제 #28
0
 def __init__(self, branch_url):
     LaunchpadFault.__init__(self, branch_url=branch_url)
예제 #29
0
 def __init__(self, message="Authorisation required."):
     LaunchpadFault.__init__(self, message=message)