Пример #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)