mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-09 16:01:28 +00:00
lpapicache.py: add DistributionSourcePackage
This commit is contained in:
parent
0db2c71998
commit
8a29c11904
@ -501,6 +501,7 @@ class PersonTeam(BaseWrapper):
|
|||||||
|
|
||||||
return self.canUploadPackage(archive, pkg, None)
|
return self.canUploadPackage(archive, pkg, None)
|
||||||
|
|
||||||
|
|
||||||
class Build(BaseWrapper):
|
class Build(BaseWrapper):
|
||||||
'''
|
'''
|
||||||
Wrapper class around a build object.
|
Wrapper class around a build object.
|
||||||
@ -521,3 +522,10 @@ class Build(BaseWrapper):
|
|||||||
self().retry()
|
self().retry()
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
class DistributionSourcePackage(BaseWrapper):
|
||||||
|
'''
|
||||||
|
Caching class for distribution_source_package objects.
|
||||||
|
'''
|
||||||
|
resource_type = 'https://api.edge.launchpad.net/beta/#distribution_source_package'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user