mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-31 21:01:07 +00:00
syncpackage: Use anonymous Launchpad login.
This commit is contained in:
parent
518a6006d6
commit
f35f81dc56
@ -33,7 +33,7 @@ import urllib
|
|||||||
from ubuntutools.requestsync.mail import getDebianSrcPkg as ubuntutools_requestsync_mail_getDebianSrcPkg
|
from ubuntutools.requestsync.mail import getDebianSrcPkg as ubuntutools_requestsync_mail_getDebianSrcPkg
|
||||||
from ubuntutools.requestsync.lp import getDebianSrcPkg, getUbuntuSrcPkg
|
from ubuntutools.requestsync.lp import getDebianSrcPkg, getUbuntuSrcPkg
|
||||||
from ubuntutools.lp import udtexceptions
|
from ubuntutools.lp import udtexceptions
|
||||||
from ubuntutools.lp.libsupport import get_launchpad
|
from ubuntutools.lp.lpapicache import Launchpad
|
||||||
|
|
||||||
class File(object):
|
class File(object):
|
||||||
def __init__(self, url, checksum, size):
|
def __init__(self, url, checksum, size):
|
||||||
@ -389,9 +389,9 @@ if __name__ == "__main__":
|
|||||||
(script_name, ", ".join(invalid_bug_numbers))
|
(script_name, ", ".join(invalid_bug_numbers))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
Launchpad.login_anonymously()
|
||||||
if options.release is None:
|
if options.release is None:
|
||||||
launchpad = get_launchpad("ubuntu-dev-tools")
|
options.release = Launchpad.distributions["ubuntu"].current_series.name
|
||||||
options.release = launchpad.distributions["ubuntu"].current_series.name
|
|
||||||
|
|
||||||
if args[0].endswith(".dsc"):
|
if args[0].endswith(".dsc"):
|
||||||
dscurl = args[0]
|
dscurl = args[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user