AutoPolicy can take a handler argument to use a different Handler.
commit39f4e7adcfabb1e4dd799e756dd508ea7eee3e66
authorThomas Leonard <talex5@gmail.com>
Thu, 28 Jun 2007 15:27:29 +0000 (28 15:27 +0000)
committerThomas <Leonard>
Sun, 15 Jan 2006 10:34:05 +0000 (15 10:34 +0000)
treefcb3f4b309b2df3f5dd3b073fbde0631c90e180c
parent4b821ee886da581425b05d1d123be918fd4b18f9
AutoPolicy can take a handler argument to use a different Handler.

The default Handler class now uses GLib's mainloop. This should make integration
with an existing mainloop easier, and opens up the possibility for timeouts, etc.

Handler.wait_for_downloads() now uses a GLib mainloop. One minor effect of this is
that errors during downloading are now reported by calling report_error(), not by
throwing the exception from wait_for_downloads.

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