← Back to team overview

registry team mailing list archive

Re: [Bug 620458] Re: cannot access attachments of private bugs any more

 

On Sun, Sep 5, 2010 at 9:27 PM, Markus Korn <thekorn@xxxxxx> wrote:
> 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>

Where are you running that? this isn't meant to be fixed except on a
very specific machine in the canonical datacentre.

-- 
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.



References