Ubuntu Pastebin

Paste from skay at Mon, 1 Jun 2015 16:41:39 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
creds = Credentials.load_from_path('/path/to/credentials')

lp = Launchpad(credentials=creds, service_root='production', version='devel')
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-25-21ecccac3524> in <module>()
----> 1 lp = Launchpad(credentials=creds, service_root='production', version='devel')

TypeError: __init__() takes at least 4 arguments (4 given)


lp = Launchpad.login_with(application_name='testapp', service_root='production',
                          credentials_file='/path/to/credentials',version='devel')
Download as text