registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #13550
[Bug 620458] Re: cannot access attachments of private bugs any more
I can confirm it's fixed:
In [7]: from launchpadlib.uris import LPNET_SERVICE_ROOT
In [8]: from launchpadlib.launchpad import Launchpad
In [9]: lp = Launchpad.login_with("testing", LPNET_SERVICE_ROOT, "/tmp/lp", version="devel")
[...]
In [10]: b = lp.bugs[622597]
In [11]: b.attachments[0].data
Out[11]: <lazr.restfulclient.resource.HostedFile object at 0x2928a90>
In [12]: f = b.attachments[0].data.open()
In [13]: f
Out[13]: <lazr.restfulclient.resource.HostedFileBuffer instance at 0x2921a28>
--
cannot access attachments of private bugs any more
https://bugs.launchpad.net/bugs/620458
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for httplib2.
Follow ups