Allow a success_callback function to be set on an ImplementationDownload.
commita197dfca34c518e723c5f1e3854ded26c3be07eb
authorThomas Leonard <talex5@gmail.com>
Sat, 29 Apr 2006 18:03:08 +0000 (29 18:03 +0000)
committerThomas <Leonard>
Sun, 15 Jan 2006 10:34:05 +0000 (15 10:34 +0000)
treea38fdac3ab200e007e8e93fe86f4cb3f5f47a685
parent8f1b57234e9da41a11d2df16450fd21c5610bbb2
Allow a success_callback function to be set on an ImplementationDownload.

If present, it will be used to process the data when the download is complete,
rather than returning the stream from error_stream_closed() and letting the
caller handle it.

git-svn-id: file:///home/talex/Backups/sf.net/Subversion/zero-install/trunk/0launch@834 9f8c893c-44ee-0310-b757-c8ca8341c71e
zeroinstall/injector/download.py