summaryrefslogtreecommitdiff
path: root/scripts/_lp_release.py
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2013-11-30 14:12:42 +1300
committerRobert Collins <robertc@robertcollins.net>2014-01-29 22:53:19 +1300
commit0321e21d116afe52d42b818e06906b0e6a1741b9 (patch)
tree0c2f4a3331a527b42754dafc73266742f22f17da /scripts/_lp_release.py
parent8834076b9719f846ee466a4270eb54eaf6572be6 (diff)
downloadtesttools-0321e21d116afe52d42b818e06906b0e6a1741b9.tar.gz
Use a credentials file rather than global keyring.
Global keyring really doesn't work all that well in the places I tend to run this script. Change-Id: I3e926aed2a63ada0a23cb463582b50fea2bfc007
Diffstat (limited to 'scripts/_lp_release.py')
-rw-r--r--scripts/_lp_release.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/_lp_release.py b/scripts/_lp_release.py
index 7742077..072326f 100644
--- a/scripts/_lp_release.py
+++ b/scripts/_lp_release.py
@@ -223,7 +223,8 @@ def release_project(launchpad, project_name, next_milestone_name):
def main(args):
- launchpad = Launchpad.login_with(APP_NAME, SERVICE_ROOT, CACHE_DIR)
+ launchpad = Launchpad.login_with(
+ APP_NAME, SERVICE_ROOT, CACHE_DIR, credentials_file='.lp_creds')
return release_project(launchpad, PROJECT_NAME, NEXT_MILESTONE_NAME)