Ubuntu Pastebin

Paste from rbasak at Mon, 6 Nov 2017 16:52:08 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
>>> import launchpadlib
>>> lp = launchpadlib.launchpad.Launchpad.login_with('~racb', 'production', 'devel')
>>> lp.git_repositories.getByPath 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 355, in __getattr__
    return self.lp_get_parameter(attr)
  File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 260, in lp_get_parameter
    raise KeyError("No such parameter: %s" % param_name)
KeyError: 'No such parameter: getByPath'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 358, in __getattr__
    % (self, attr))
AttributeError: <lazr.restfulclient.resource.Collection object at 0x7fd327410780> object has no attribute 'getByPath'
Download as text