Use devel version of LP API.
For consistency use development version of the LP API in the scripts that query the Launchpad API. Change-Id: I39b145684563738dd5615d863720ec364c4987c3 Reviewed-on: https://review.openstack.org/11508 Reviewed-by: linuxjedi <andrew@linuxjedi.co.uk> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
9038098310
commit
b0e002d520
@ -47,7 +47,8 @@ for line in urllib.urlopen('http://wiki.openstack.org/Contributors?action=raw'):
|
|||||||
|
|
||||||
launchpad = Launchpad.login_with('CLA Team Sync', LPNET_SERVICE_ROOT,
|
launchpad = Launchpad.login_with('CLA Team Sync', LPNET_SERVICE_ROOT,
|
||||||
LP_CACHE_DIR,
|
LP_CACHE_DIR,
|
||||||
credentials_file = LP_CREDENTIALS)
|
credentials_file = LP_CREDENTIALS,
|
||||||
|
version='devel')
|
||||||
|
|
||||||
lp_members = []
|
lp_members = []
|
||||||
|
|
||||||
|
@ -117,7 +117,8 @@ cur = conn.cursor()
|
|||||||
|
|
||||||
launchpad = Launchpad.login_with('Gerrit User Sync', LPNET_SERVICE_ROOT,
|
launchpad = Launchpad.login_with('Gerrit User Sync', LPNET_SERVICE_ROOT,
|
||||||
GERRIT_CACHE_DIR,
|
GERRIT_CACHE_DIR,
|
||||||
credentials_file = GERRIT_CREDENTIALS)
|
credentials_file = GERRIT_CREDENTIALS,
|
||||||
|
version='devel')
|
||||||
|
|
||||||
def get_sub_teams(team, have_teams):
|
def get_sub_teams(team, have_teams):
|
||||||
for sub_team in launchpad.people[team].sub_teams:
|
for sub_team in launchpad.people[team].sub_teams:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user