1401
1401
name=TextLine(required=True, constraint=name_validator),
1402
1402
displayname=TextLine(required=False),
1404
1406
@export_factory_operation(Interface, []) # Really IArchive.
1405
1407
@operation_for_version("beta")
1408
def createPPA(name=None, displayname=None, description=None, private=False):
1409
1411
:param name: A string with the name of the new PPA to create. If
1410
1412
not specified, defaults to 'ppa'.
1411
1413
:param displayname: The displayname for the new PPA.
1412
1414
:param description: The description for the new PPA.
1413
1417
:raises: `PPACreationError` if an error is encountered
1415
1419
:return: a PPA `IArchive` record.