Comment 2 for bug 347

Revision history for this message
Stuart Bishop (stub) wrote : Re: [Bug 347] Re: Librarian should have a write API for uploads

Christian Reis wrote:

> I'd imagine this is a fairly common use case.

The only use case I've heard about so far.

I don't know if this would be very helpful - code uploading to the
Librarian should be handling upload failure exceptions gracefully. If the
Librarian client provided an API to hand out an open file like object, the
developer would need to remember to do this handling around whatever code is
invoking the close() method on that file like object.

--
Stuart Bishop <email address hidden> http://www.canonical.com/
Canonical Ltd. http://www.ubuntu.com/