Browse files

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
  • Loading branch information...
1 parent 8834076 commit 0321e21d116afe52d42b818e06906b0e6a1741b9 @rbtcollins rbtcollins committed Nov 30, 2013
Showing with 3 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +2 −1 scripts/_lp_release.py
View
1 .gitignore
@@ -8,6 +8,7 @@ apidocs
_trial_temp
doc/_build
.testrepository
+.lp_creds
./testtools.egg-info
*.pyc
*.swp
View
3 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)

0 comments on commit 0321e21

Please sign in to comment.