Turns out that we do actually have to log in.
Change-Id: I7f778e8b4ca0784f527a8244d36ad8f5807f66da
This commit is contained in:
@@ -13,9 +13,8 @@ credentials="~/.launchpadlib/creds"
|
|||||||
if not os.path.exists("~/.launchpadlib"):
|
if not os.path.exists("~/.launchpadlib"):
|
||||||
os.makedirs("~/.launchpadlib")
|
os.makedirs("~/.launchpadlib")
|
||||||
|
|
||||||
launchpad = Launchpad.login_anonymously("Gerrit User Sync", "production",
|
launchpad = Launchpad.login_with('Gerrit User Sync', LPNET_SERVICE_ROOT,
|
||||||
cachedir,
|
cachedir, credentials_file=credentials)
|
||||||
credentials_file=credentials)
|
|
||||||
|
|
||||||
def get_type(in_type):
|
def get_type(in_type):
|
||||||
if in_type == "RSA":
|
if in_type == "RSA":
|
||||||
|
|||||||
Reference in New Issue
Block a user