mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
seeded-in-ubuntu: Log into launchpad anonymously (LP: #979849)
This commit is contained in:
parent
36088bad6c
commit
b05cbfd8f9
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
ubuntu-dev-tools (0.141) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* seeded-in-ubuntu: Log into launchpad anonymously (LP: #979849)
|
||||||
|
|
||||||
|
-- Stefano Rivera <stefanor@debian.org> Thu, 12 Apr 2012 18:21:41 +0200
|
||||||
|
|
||||||
ubuntu-dev-tools (0.140) unstable; urgency=low
|
ubuntu-dev-tools (0.140) unstable; urgency=low
|
||||||
|
|
||||||
[ Stefano Rivera ]
|
[ Stefano Rivera ]
|
||||||
|
@ -24,7 +24,8 @@ import urllib
|
|||||||
|
|
||||||
from devscripts.logger import Logger
|
from devscripts.logger import Logger
|
||||||
|
|
||||||
from ubuntutools.lp.lpapicache import Distribution, PackageNotFoundException
|
from ubuntutools.lp.lpapicache import (Distribution, Launchpad,
|
||||||
|
PackageNotFoundException)
|
||||||
|
|
||||||
DATA_URL = 'http://qa.ubuntuwire.org/ubuntu-seeded-packages/seeded.json.gz'
|
DATA_URL = 'http://qa.ubuntuwire.org/ubuntu-seeded-packages/seeded.json.gz'
|
||||||
|
|
||||||
@ -117,6 +118,9 @@ def main():
|
|||||||
if len(args) < 1:
|
if len(args) < 1:
|
||||||
parser.error("At least one package must be specified")
|
parser.error("At least one package must be specified")
|
||||||
|
|
||||||
|
# Login anonymously to LP
|
||||||
|
Launchpad.login_anonymously()
|
||||||
|
|
||||||
index = load_index(options.data_url)
|
index = load_index(options.data_url)
|
||||||
if options.binary:
|
if options.binary:
|
||||||
output_binaries(index, args)
|
output_binaries(index, args)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user