mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-09 07:51:28 +00:00
parent
562e6b13cd
commit
ad402231db
@ -135,12 +135,14 @@ def main():
|
|||||||
Logger.error(error)
|
Logger.error(error)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Get the ubuntu archive
|
|
||||||
try:
|
try:
|
||||||
ubuntu_archive = Distribution('ubuntu').getArchive()
|
# Will fail here if we have no credentials, bail out
|
||||||
# Will fail here if we have no credentials, bail out
|
Launchpad.login()
|
||||||
except IOError:
|
except IOError:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
# Get the ubuntu archive
|
||||||
|
ubuntu_archive = Distribution('ubuntu').getArchive()
|
||||||
# Get list of published sources for package in question.
|
# Get list of published sources for package in question.
|
||||||
try:
|
try:
|
||||||
sources = ubuntu_archive.getSourcePackage(package, release, pocket)
|
sources = ubuntu_archive.getSourcePackage(package, release, pocket)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user