~ubuntu-qa-website-devel/ubuntu-qa-website/drupal7-rewrite

« back to all changes in this revision

Viewing changes to scripts/sync-lp-bugs

  • Committer: Brian Murray
  • Date: 2017-03-29 16:56:36 UTC
  • Revision ID: brian@canonical.com-20170329165636-gvhccwrvpwe5husm
scripts/sync-lp-bugs: stop using the staging version of Launchpad

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
try:
109
109
    credentials = Credentials()
110
110
    credentials.load(open(credfile))
111
 
    launchpad = Launchpad(credentials, LPNET_SERVICE_ROOT, cachedir)
 
111
    launchpad = Launchpad(credentials, LPNET_SERVICE_ROOT, cachedir,
 
112
                          service_root='https://api.launchpad.net')
112
113
except:
113
114
    launchpad = Launchpad.get_token_and_login("sync-lp-bugs",
114
115
                                                LPNET_SERVICE_ROOT, cachedir)